summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_node.eo
diff options
context:
space:
mode:
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2015-07-14 11:19:35 +0100
committerTom Hacohen <tom@stosb.com>2015-08-04 10:57:14 +0100
commit60b16be772bfa5d799dd405deb66c4dd85bd76ab (patch)
tree8078c46a13f94befeb29f2a4b94f10033420682c /src/lib/evas/canvas/evas_canvas3d_node.eo
parent086a501be6d5f25c4e91d3de143984d78b4b83a0 (diff)
Evas canvas3d: Move evas 3d types to evas_types.eot
Summary: Move evas_canvas3d types from Evas_Eo.h to evas_types.eot Change enum constatnt for vertex_arrtib, material_attrib, blend_func Correct namespace for Evas.Real type Reviewers: cedric, tasn Reviewed By: tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2734
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_node.eo')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_node.eo82
1 files changed, 42 insertions, 40 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_node.eo b/src/lib/evas/canvas/evas_canvas3d_node.eo
index df85e69..d6515db 100644
--- a/src/lib/evas/canvas/evas_canvas3d_node.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_node.eo
@@ -1,3 +1,5 @@
1import evas_types;
2
1class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface) 3class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
2{ 4{
3 legacy_prefix: null; 5 legacy_prefix: null;
@@ -60,9 +62,9 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
60 62
61 See also @Evas.Canvas3D.Node.position_inherit.set.]] 63 See also @Evas.Canvas3D.Node.position_inherit.set.]]
62 params { 64 params {
63 @in x: Evas_Real; [[X coordinate of the position.]] 65 @in x: Evas.Real; [[X coordinate of the position.]]
64 @in y: Evas_Real; [[Y coordinate of the position.]] 66 @in y: Evas.Real; [[Y coordinate of the position.]]
65 @in z: Evas_Real; [[Z coordinate of the position.]] 67 @in z: Evas.Real; [[Z coordinate of the position.]]
66 } 68 }
67 } 69 }
68 orientation_set { 70 orientation_set {
@@ -75,10 +77,10 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
75 77
76 See also @Evas.Canvas3D.Node.orientation_inherit.set.]] 78 See also @Evas.Canvas3D.Node.orientation_inherit.set.]]
77 params { 79 params {
78 @in x: Evas_Real; [[X term of the orientation quaternion (w, x, y, z.]] 80 @in x: Evas.Real; [[X term of the orientation quaternion (w, x, y, z.]]
79 @in y: Evas_Real; [[Y term of the orientation quaternion (w, x, y, z.]] 81 @in y: Evas.Real; [[Y term of the orientation quaternion (w, x, y, z.]]
80 @in z: Evas_Real; [[Z term of the orientation quaternion (w, x, y, z.]] 82 @in z: Evas.Real; [[Z term of the orientation quaternion (w, x, y, z.]]
81 @in w: Evas_Real; [[W term of the orientation quaternion (w, x, y, z.]] 83 @in w: Evas.Real; [[W term of the orientation quaternion (w, x, y, z.]]
82 } 84 }
83 } 85 }
84 86
@@ -87,10 +89,10 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
87 89
88 See also @Evas.Canvas3D.Node.orientation_set.]] 90 See also @Evas.Canvas3D.Node.orientation_set.]]
89 params { 91 params {
90 @in angle: Evas_Real; [[Rotation angle.]] 92 @in angle: Evas.Real; [[Rotation angle.]]
91 @in x: Evas_Real; [[X term of the rotation axis.]] 93 @in x: Evas.Real; [[X term of the rotation axis.]]
92 @in y: Evas_Real; [[Y term of the rotation axis.]] 94 @in y: Evas.Real; [[Y term of the rotation axis.]]
93 @in z: Evas_Real; [[Z term of the rotation axis.]] 95 @in z: Evas.Real; [[Z term of the rotation axis.]]
94 } 96 }
95 } 97 }
96 98
@@ -105,9 +107,9 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
105 107
106 See also @Evas.Canvas3D.Node.scale_inherit.set.]] 108 See also @Evas.Canvas3D.Node.scale_inherit.set.]]
107 params { 109 params {
108 @in x: Evas_Real; [[Scale factor along X-axis.]] 110 @in x: Evas.Real; [[Scale factor along X-axis.]]
109 @in y: Evas_Real; [[Scale factor along Y-axis.]] 111 @in y: Evas.Real; [[Scale factor along Y-axis.]]
110 @in z: Evas_Real; [[Scale factor along Z-axis.]] 112 @in z: Evas.Real; [[Scale factor along Z-axis.]]
111 } 113 }
112 } 114 }
113 115
@@ -117,9 +119,9 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
117 See also @Evas.Canvas3D.Node.position_set.]] 119 See also @Evas.Canvas3D.Node.position_set.]]
118 params { 120 params {
119 @in space: Evas.Canvas3D.Space; [[The given node.]] 121 @in space: Evas.Canvas3D.Space; [[The given node.]]
120 @out x: Evas_Real; [[Pointer to receive X coordinate of the position.]] 122 @out x: Evas.Real; [[Pointer to receive X coordinate of the position.]]
121 @out y: Evas_Real; [[Pointer to receive Y coordinate of the position.]] 123 @out y: Evas.Real; [[Pointer to receive Y coordinate of the position.]]
122 @out z: Evas_Real; [[Pointer to receive Z coordinate of the position.]] 124 @out z: Evas.Real; [[Pointer to receive Z coordinate of the position.]]
123 } 125 }
124 } 126 }
125 127
@@ -129,10 +131,10 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
129 See also @Evas.Canvas3D.Node.orientation_set.]] 131 See also @Evas.Canvas3D.Node.orientation_set.]]
130 params { 132 params {
131 @in space: Evas.Canvas3D.Space; [[The given node.]] 133 @in space: Evas.Canvas3D.Space; [[The given node.]]
132 @out x: Evas_Real; [[Pointer to receive X term of the orientation quaternion.]] 134 @out x: Evas.Real; [[Pointer to receive X term of the orientation quaternion.]]
133 @out y: Evas_Real; [[Pointer to receive Y term of the orientation quaternion.]] 135 @out y: Evas.Real; [[Pointer to receive Y term of the orientation quaternion.]]
134 @out z: Evas_Real; [[Pointer to receive Z term of the orientation quaternion.]] 136 @out z: Evas.Real; [[Pointer to receive Z term of the orientation quaternion.]]
135 @out w: Evas_Real; [[Pointer to receive W term of the orientation quaternion.]] 137 @out w: Evas.Real; [[Pointer to receive W term of the orientation quaternion.]]
136 } 138 }
137 } 139 }
138 140
@@ -142,9 +144,9 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
142 See also @Evas.Canvas3D.Node.scale_get.]] 144 See also @Evas.Canvas3D.Node.scale_get.]]
143 params { 145 params {
144 @in space: Evas.Canvas3D.Space; [[The given node.]] 146 @in space: Evas.Canvas3D.Space; [[The given node.]]
145 @out x: Evas_Real; [[Pointer to receive Scale factor along X-axis.]] 147 @out x: Evas.Real; [[Pointer to receive Scale factor along X-axis.]]
146 @out y: Evas_Real; [[Pointer to receive Scale factor along X-axis.]] 148 @out y: Evas.Real; [[Pointer to receive Scale factor along X-axis.]]
147 @out z: Evas_Real; [[Pointer to receive Scale factor along X-axis.]] 149 @out z: Evas.Real; [[Pointer to receive Scale factor along X-axis.]]
148 } 150 }
149 } 151 }
150 152
@@ -158,13 +160,13 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
158 See also @Evas.Canvas3D.Node.orientation_set.]] 160 See also @Evas.Canvas3D.Node.orientation_set.]]
159 params { 161 params {
160 @in target_space: Evas.Canvas3D.Space; [[Space where the target position belongs to.]] 162 @in target_space: Evas.Canvas3D.Space; [[Space where the target position belongs to.]]
161 @in x: Evas_Real; [[X coordinate of the target position.]] 163 @in x: Evas.Real; [[X coordinate of the target position.]]
162 @in y: Evas_Real; [[Y coordinate of the target position.]] 164 @in y: Evas.Real; [[Y coordinate of the target position.]]
163 @in z: Evas_Real; [[Z coordinate of the target position.]] 165 @in z: Evas.Real; [[Z coordinate of the target position.]]
164 @in up_space: Evas.Canvas3D.Space; [[Space where the up vector belongs to.]] 166 @in up_space: Evas.Canvas3D.Space; [[Space where the up vector belongs to.]]
165 @in ux: Evas_Real; [[X term of the up vector.]] 167 @in ux: Evas.Real; [[X term of the up vector.]]
166 @in uy: Evas_Real; [[Y term of the up vector.]] 168 @in uy: Evas.Real; [[Y term of the up vector.]]
167 @in uz: Evas_Real; [[Z term of the up vector.]] 169 @in uz: Evas.Real; [[Z term of the up vector.]]
168 } 170 }
169 } 171 }
170 172
@@ -206,12 +208,12 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
206 bounding_box_get{ 208 bounding_box_get{
207 [[Get axis-aligned bounding box (AABB) of the given node.]] 209 [[Get axis-aligned bounding box (AABB) of the given node.]]
208 params { 210 params {
209 @in x: Evas_Real *; [[Pointer to receive X coordinate of the first point of AABB.]] 211 @in x: Evas.Real *; [[Pointer to receive X coordinate of the first point of AABB.]]
210 @in y: Evas_Real *; [[Pointer to receive Y coordinate of the first point of AABB.]] 212 @in y: Evas.Real *; [[Pointer to receive Y coordinate of the first point of AABB.]]
211 @in z: Evas_Real *; [[Pointer to receive Z coordinate of the first point of AABB.]] 213 @in z: Evas.Real *; [[Pointer to receive Z coordinate of the first point of AABB.]]
212 @in x2: Evas_Real *; [[Pointer to receive X coordinate of the second point of AABB.]] 214 @in x2: Evas.Real *; [[Pointer to receive X coordinate of the second point of AABB.]]
213 @in y2: Evas_Real *; [[Pointer to receive Y coordinate of the second point of AABB.]] 215 @in y2: Evas.Real *; [[Pointer to receive Y coordinate of the second point of AABB.]]
214 @in z2: Evas_Real *; [[Pointer to receive Z coordinate of the second point of AABB.]] 216 @in z2: Evas.Real *; [[Pointer to receive Z coordinate of the second point of AABB.]]
215 } 217 }
216 } 218 }
217 219
@@ -219,10 +221,10 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
219 [[Get bounding sphere of the given node.]] 221 [[Get bounding sphere of the given node.]]
220 params { 222 params {
221 223
222 @in x: Evas_Real *; [[Pointer to receive X coordinate of the center of sphere.]] 224 @in x: Evas.Real *; [[Pointer to receive X coordinate of the center of sphere.]]
223 @in y: Evas_Real *; [[Pointer to receive Y coordinate of the center of sphere.]] 225 @in y: Evas.Real *; [[Pointer to receive Y coordinate of the center of sphere.]]
224 @in z: Evas_Real *; [[Pointer to receive Z coordinate of center of sphere.]] 226 @in z: Evas.Real *; [[Pointer to receive Z coordinate of center of sphere.]]
225 @in r: Evas_Real *; [[Pointer to receive radius of center of sphere.]] 227 @in r: Evas.Real *; [[Pointer to receive radius of center of sphere.]]
226 } 228 }
227 } 229 }
228 230