summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_Eo.h
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2015-04-22 15:27:49 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:09 +0200
commit04038dfaefa81e39988b3dc90b84da73dfea5e1f (patch)
treec1634c8050623694afdfcb27b0d385db4da6321b /src/lib/evas/Evas_Eo.h
parent657d495aa9607774409206099d809a1a737b736a (diff)
evas: primitives - Changed enum for types of Evas_3D_Mesh primitives
Summary: **`Creating API for primitives.`** //What should be in the end:// - Class evas_3d_primitive inherited from eo.base - Unificated API of mesh for setting data from primitives - API's of primitives to get/set precision, ratio, type, tex_scale etc. - code of primitives in separated modules //Steps:// **1.) Enum for types of primitives** 2.) Copies of primitives in modules 3.) Eo and c files for class of primitive 4.) In common create picker of module 5.) API function in mesh.c 6.) Binding of new realization 7.) Rewriting of examples 8.) Deleting of old files for primitives //Also this commit will be usable in parsing EDC by edje// Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2359 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/evas/Evas_Eo.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/lib/evas/Evas_Eo.h b/src/lib/evas/Evas_Eo.h
index 296444268f..8850a45cbc 100644
--- a/src/lib/evas/Evas_Eo.h
+++ b/src/lib/evas/Evas_Eo.h
@@ -721,12 +721,26 @@ typedef enum _Evas_3D_Wrap_Mode
721 */ 721 */
722typedef enum _Evas_3D_Mesh_Primitive 722typedef enum _Evas_3D_Mesh_Primitive
723{ 723{
724 /**< An empty space */
724 EVAS_3D_MESH_PRIMITIVE_NONE = 0, 725 EVAS_3D_MESH_PRIMITIVE_NONE = 0,
725 EVAS_3D_MESH_PRIMITIVE_CUBE = 1, 726 /**< One sided square */
726 EVAS_3D_MESH_PRIMITIVE_SPHERE = 2 727 EVAS_3D_MESH_PRIMITIVE_SQUARE,
728 /**< Cube */
729 EVAS_3D_MESH_PRIMITIVE_CUBE,
730 /**< Cylinder (can use precision and texture scale) */
731 EVAS_3D_MESH_PRIMITIVE_CYLINDER,
732 /**< Cone (can use precision and texture scale) */
733 EVAS_3D_MESH_PRIMITIVE_CONE,
734 /**< Sphere (can use precision and texture scale) */
735 EVAS_3D_MESH_PRIMITIVE_SPHERE,
736 /**< Torus (can use ratio, precision and texture scale) */
737 EVAS_3D_MESH_PRIMITIVE_TORUS,
738 /**< Custom surface (can use pointer to users function, precision and texture scale) */
739 EVAS_3D_MESH_PRIMITIVE_SURFACE,
740 /**< Terrain as surface with pointer to Perlin's noise function */
741 EVAS_3D_MESH_PRIMITIVE_TERRAIN
727} Evas_3D_Mesh_Primitive; 742} Evas_3D_Mesh_Primitive;
728 743
729
730/** 744/**
731 * Texture filters 745 * Texture filters
732 * 746 *