| /TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Color/src/ |
| D | main.c | 84 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/ |
| D | main.c | 63 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/ |
| D | main.c | 84 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/ |
| D | main.c | 95 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/ |
| D | main.c | 117 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/ |
| D | main.c | 123 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/ |
| D | main.c | 68 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/ |
| D | main.c | 238 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/ |
| D | main.c | 84 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/ |
| D | main.c | 75 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/ |
| D | main.c | 39 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/ |
| D | main.c | 98 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/ |
| D | main.c | 219 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/ |
| D | main.c | 67 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/ |
| D | main.c | 62 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/ |
| D | main.c | 170 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/ |
| D | main.c | 56 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/ |
| D | main.c | 56 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/ |
| D | main.c | 127 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/ |
| D | main.c | 40 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/ |
| D | main.c | 41 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/ |
| D | main.c | 69 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/ |
| D | main.c | 73 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/ |
| D | main.c | 134 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/ |
| D | main.c | 121 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()
|