Updated primitive shape generation to allow for back face culling.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / primitive / primitive-visual.h
index ecee880..bc57a9b 100644 (file)
@@ -46,7 +46,7 @@
 
 
 // INTERNAL INCLUDES
-#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-base-impl.h>
 
 namespace Dali
 {
@@ -60,6 +60,8 @@ namespace Internal
 /**
  * The visual which renders a simple 3D shape to the control's quad
  *
+ * Primitives are created with clockwise winding and back-face culling by default.
+ *
  * The following properties are required to create a PrimitiveRender
  *
  * | %Property Name  | Type        |
@@ -89,7 +91,7 @@ namespace Internal
  * |-----------------|-------------|-----------------------------------------|
  * | lightPosition   | VECTOR3     | The position (on stage) of the light    |
  */
-class PrimitiveVisual: public Visual
+class PrimitiveVisual: public Visual::Base
 {
 public: