Home
last modified time | relevance | path

Searched refs:Rotate (Results 1 – 25 of 43) sorted by relevance

12

/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Color/src/
Dmain.c84 static void drawLeftCube(u16 Rotate) in drawLeftCube() argument
91 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
92 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
149 static void drawRightCube(u16 Rotate) in drawRightCube() argument
157 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
158 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
209 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
223 Rotate += 256; in TwlMain()
238 drawLeftCube(Rotate); in TwlMain()
239 drawRightCube(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Alpha_Test/src/
Dmain.c63 static void drawCube(int alpha, u16 Rotate) in drawCube() argument
66 fx16 s = FX_SinIdx(Rotate); in drawCube()
67 fx16 c = FX_CosIdx(Rotate); in drawCube()
111 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
128 Rotate += 256; in TwlMain()
149 drawCube(31, Rotate); in TwlMain()
157 drawCube(24, Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Split/src/
Dmain.c84 static void drawLeftCube(u16 Rotate) in drawLeftCube() argument
91 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
92 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
149 static void drawRightCube(u16 Rotate) in drawRightCube() argument
157 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
158 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
211 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
240 Rotate += 256; in TwlMain()
255 drawLeftCube(Rotate); in TwlMain()
256 drawRightCube(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Edge_Marking/src/
Dmain.c95 static void drawCube(int polygonID, u16 Rotate) in drawCube() argument
98 fx16 s = FX_SinIdx(Rotate); in drawCube()
99 fx16 c = FX_CosIdx(Rotate); in drawCube()
137 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
162 Rotate += 256; in TwlMain()
193 drawCube(0, Rotate); in TwlMain()
201 drawCube(8, Rotate); in TwlMain()
209 drawCube(16, Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Light/src/
Dmain.c117 static void drawLeftCube(u16 Rotate, u8 count) in drawLeftCube() argument
123 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
124 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
164 static void drawRightCube(u16 Rotate, u8 count) in drawRightCube() argument
170 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
171 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
217 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
232 Rotate += 256; in TwlMain()
269 drawLeftCube(Rotate, count); in TwlMain()
270 drawRightCube(Rotate, count); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_LightColor/src/
Dmain.c123 static void drawLeftCube(u16 Rotate, u8 count) in drawLeftCube() argument
129 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
130 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
164 static void drawRightCube(u16 Rotate, u8 count) in drawRightCube() argument
170 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
171 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
214 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
229 Rotate += 256; in TwlMain()
269 drawLeftCube(Rotate, count); in TwlMain()
270 drawRightCube(Rotate, count); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Transparent/src/
Dmain.c68 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
82 Rotate += 256; in TwlMain()
105 fx16 s = FX_SinIdx(Rotate); in TwlMain()
106 fx16 c = FX_CosIdx(Rotate); in TwlMain()
157 fx16 s = FX_SinIdx(Rotate); in TwlMain()
158 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_MakeDL/src/
Dmain.c238 static void drawLeftCube(u16 Rotate) in drawLeftCube() argument
245 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
246 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
259 static void drawRightCube(u16 Rotate) in drawRightCube() argument
267 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
268 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
288 u16 Rotate = 0; // For rotating cubes (0-65535) in TwlMain() local
305 Rotate += 256; in TwlMain()
320 drawLeftCube(Rotate); in TwlMain()
321 drawRightCube(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Tex_Decal/src/
Dmain.c84 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
130 Rotate += 256; in TwlMain()
169 fx16 s = FX_SinIdx(Rotate); in TwlMain()
170 fx16 c = FX_CosIdx(Rotate); in TwlMain()
228 fx16 s = FX_SinIdx(Rotate); in TwlMain()
229 fx16 c = FX_CosIdx(Rotate); in TwlMain()
292 fx16 s = FX_SinIdx(Rotate); in TwlMain()
293 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shadow_Pol/src/
Dmain.c75 u16 Rotate = 0; // For rotating sphere (0-65535) in TwlMain() local
94 Rotate += 256; in TwlMain()
157 fx16 s = FX_SinIdx(Rotate); in TwlMain()
158 fx16 c = FX_CosIdx(Rotate); in TwlMain()
202 fx16 s = FX_SinIdx(Rotate); in TwlMain()
203 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Command_Pack/src/
Dmain.c39 u16 Rotate = 0; // for rotating spheresa(0-65535) in TwlMain() local
54 Rotate += 256; in TwlMain()
97 fx16 s = FX_SinIdx(Rotate); in TwlMain()
98 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Env_Mapping/src/
Dmain.c98 u16 Rotate = 0; in TwlMain() local
142 Rotate += 256; in TwlMain()
167 fx16 s = FX_SinIdx(Rotate); in TwlMain()
168 fx16 c = FX_CosIdx(Rotate); in TwlMain()
179 fx16 s = FX_SinIdx(Rotate); in TwlMain()
180 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/PosVecTest/src/
Dmain.c219 u16 Rotate = 0; in TwlMain() local
241 Rotate += 256; in TwlMain()
259 fx16 s = FX_SinIdx(Rotate); in TwlMain()
260 fx16 c = FX_CosIdx(Rotate); in TwlMain()
299 fx16 s = FX_SinIdx(Rotate); in TwlMain()
300 fx16 c = FX_CosIdx(Rotate); in TwlMain()
352 fx16 s = FX_SinIdx(Rotate); in TwlMain()
353 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple3/src/
Dmain.c67 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
82 Rotate += 256; in TwlMain()
97 fx16 s = FX_SinIdx(Rotate); in TwlMain()
98 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple/src/
Dmain.c62 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
76 Rotate += 256; in TwlMain()
94 fx16 s = FX_SinIdx(Rotate); in TwlMain()
95 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Vertex_Source/src/
Dmain.c170 u16 Rotate = 0; in TwlMain() local
207 Rotate += 256; in TwlMain()
229 fx16 s = FX_SinIdx(Rotate); in TwlMain()
230 fx16 c = FX_CosIdx(Rotate); in TwlMain()
240 fx16 s = FX_SinIdx(Rotate); in TwlMain()
241 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Toon/src/
Dmain.c56 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
119 Rotate += 256; in TwlMain()
152 fx16 s = FX_SinIdx(Rotate); in TwlMain()
153 fx16 c = FX_CosIdx(Rotate); in TwlMain()
239 fx16 s = FX_SinIdx(Rotate); in TwlMain()
240 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_High_Light/src/
Dmain.c56 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
114 Rotate += 256; in TwlMain()
150 fx16 s = FX_SinIdx(Rotate); in TwlMain()
151 fx16 c = FX_CosIdx(Rotate); in TwlMain()
234 fx16 s = FX_SinIdx(Rotate); in TwlMain()
235 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/Sub_Double3D/src/
Dmain.c127 static void drawLeftCube(u16 Rotate) in drawLeftCube() argument
134 fx16 s = FX_SinIdx(Rotate); in drawLeftCube()
135 fx16 c = FX_CosIdx(Rotate); in drawLeftCube()
192 static void drawRightCube(u16 Rotate) in drawRightCube() argument
200 fx16 s = FX_SinIdx(Rotate); in drawRightCube()
201 fx16 c = FX_CosIdx(Rotate); in drawRightCube()
367 u16 Rotate = 0; // For rotating cubes (0-65535) in TwlMain() local
474 Rotate += 256; in TwlMain()
505 drawRightCube(Rotate); in TwlMain()
507 drawLeftCube(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple2/src/
Dmain.c40 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
54 Rotate += 256; in TwlMain()
69 fx16 s = FX_SinIdx(Rotate); in TwlMain()
70 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Translucent/src/
Dmain.c41 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
58 Rotate += 256; in TwlMain()
79 fx16 s = FX_SinIdx(Rotate); in TwlMain()
80 fx16 c = FX_CosIdx(Rotate); in TwlMain()
152 fx16 s = FX_SinIdx(Rotate); in TwlMain()
153 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Fog/src/
Dmain.c69 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
125 Rotate += 256; in TwlMain()
144 fx16 s = FX_SinIdx(Rotate); in TwlMain()
145 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_BoxTest/src/
Dmain.c73 u16 Rotate = 0; // For rotating cubes (0-65535) in TwlMain() local
117 Rotate += 256; in TwlMain()
151 fx16 s = FX_SinIdx(Rotate); in TwlMain()
152 fx16 c = FX_CosIdx(Rotate); in TwlMain()
291 fx16 s = FX_SinIdx(Rotate); in TwlMain()
292 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/AntiAlias/src/
Dmain.c134 u16 Rotate = 0; in TwlMain() local
166 Rotate += 32; in TwlMain()
207 fx16 s = FX_SinIdx(Rotate); in TwlMain()
208 fx16 c = FX_CosIdx(Rotate); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shininess/src/
Dmain.c121 u16 Rotate = 0; // for rotating cubes(0-65535) in TwlMain() local
139 Rotate += 256; in TwlMain()
161 (fx16)FX_Mul(XY_R, FX_SinIdx(Rotate)), in TwlMain()
162 (fx16)FX_Mul(XY_R, FX_CosIdx(Rotate)), (fx16)(FX32_SQRT1_3 * -1)); in TwlMain()

12