Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/demos/gxdemo/src/TexGen/
Dtg-project.c34 static void TextureLightInit( Mtx rot );
340 Mtx rot; in AnimTick() local
392 MTXRotAxisDeg(rot, &CamY, 3.0F); in AnimTick()
394 MTXRotAxisDeg(rot, &CamY, -3.0F); in AnimTick()
396 MTXMultVec(rot, &CamX, &CamX); in AnimTick()
397 MTXMultVec(rot, &CamZ, &CamZ); in AnimTick()
403 MTXRotAxisDeg(rot, &CamX, 3.0F); in AnimTick()
405 MTXRotAxisDeg(rot, &CamX, -3.0F); in AnimTick()
407 MTXMultVec(rot, &CamY, &CamY); in AnimTick()
408 MTXMultVec(rot, &CamZ, &CamZ); in AnimTick()
[all …]
Dtg-shadow3.c133 static void DrawModels ( MyTransMtxObj* tmo, s32 rot );
601 static void DrawModels( MyTransMtxObj* tmo, s32 rot ) in DrawModels() argument
646 MTXRotDeg(mr, 'z', rot); in DrawModels()
/RvlSDK-2.1/build/demos/gddemo/src/
Dgd-matrix-gc.c146 u32 rot; // current cube rotation variable
394 rot ++; in AnimTick()
395 if(rot > 2159) in AnimTick()
396 rot = 0; in AnimTick()
404 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
405 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
416 if (rot % 120 < 60) in AnimTick()
418 tr = rot % 60; in AnimTick()
420 tr = 60 - (rot % 60); in AnimTick()
453 rot = 45; in ParameterInit()
Dgd-init-gc.c115 u32 rot; // current cube rotation variable
321 rot ++; in AnimTick()
322 if(rot > 2159) in AnimTick()
323 rot = 0; in AnimTick()
331 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
332 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
351 rot = 45; in ParameterInit()
Dgd-texture-gc.c163 u32 rot; // current cube rotation variable
564 rot ++; in AnimTick()
565 if(rot > 2159) in AnimTick()
566 rot = 0; in AnimTick()
574 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
575 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
599 rot = 45; in ParameterInit()
/RvlSDK-2.1/build/demos/gxdemo/src/Geometry/
Dgeo-vtx-fmtPrim.c51 extern u32 rot;
73 MTXRotDeg(r1, 'X', (float)rot); in DrawQuadCube()
74 MTXRotDeg(r2, 'y', (float)rot/2.0F); in DrawQuadCube()
133 MTXRotDeg(r1, 'X', (float)rot); in DrawTriCube()
134 MTXRotDeg(r2, 'y', (float)rot/2.0F); in DrawTriCube()
206 MTXRotDeg(r1, 'X', (float)rot); in DrawPointCube()
207 MTXRotDeg(r2, 'y', (float)rot/2.0F); in DrawPointCube()
246 MTXRotDeg(r1, 'X', (float)rot); in DrawLineCube()
247 MTXRotDeg(r2, 'y', (float)rot/2.0F); in DrawLineCube()
313 MTXRotDeg(r1, 'X', (float)rot); in DrawLineStripCube()
[all …]
Dgeo-vtx-fmt.c58 u32 rot; variable
338 rot ++; in AnimTick()
339 if(rot > 719) in AnimTick()
340 rot = 0; in AnimTick()
/RvlSDK-2.1/build/demos/gxdemo/src/Performance/
Dperf-sync.c217 static u32 rot = 60; in DrawTick() local
267 MTXRotDeg(mr, axis[(axisc)%3], (f32)rot); in DrawTick()
279 MTXRotDeg(mr, axis[(axisc+1)%3], (f32)rot); in DrawTick()
293 MTXRotDeg(mr, axis[(axisc+2)%3], (f32)rot); in DrawTick()
305 rot++; in DrawTick()
306 if (rot == 360) { in DrawTick()
307 rot = 0; in DrawTick()
Dperf-fill.c201 f32 rot; // model rotation member
455 testData.rot = 0.0F; // model rotation in DrawInit()
625 MTXRotAxisDeg(t, &testData.axis[cnt%NUM_ROTMATS], testData.rot); in DrawTick()
664 Mtx rot; in AnimTick() local
689 testData.rot += testData.dr; in AnimTick()
690 if (testData.rot >= 360.0F) in AnimTick()
691 testData.rot -= 360.0F; in AnimTick()
735 MTXRotDeg(rot, 'y', -1.0F); in AnimTick()
737 MTXRotDeg(rot, 'y', 1.0F); in AnimTick()
739 MTXMultVec(rot, &CamX, &CamX); in AnimTick()
[all …]
/RvlSDK-2.1/build/demos/gxdemo/src/Texture/
Dtex-layer.c41 u32 rot; variable
265 rot ++; in AnimTick()
266 if(rot > 1439) in AnimTick()
267 rot = 0; in AnimTick()
276 MTXRotDeg(ry, 'Y', (float)rot); in DrawSmoothCube()
277 MTXRotDeg(rz, 'Z', (float)rot / 2.0F); in DrawSmoothCube()
Dtex-2-tex.c42 u32 rot; variable
325 rot ++; in AnimTick()
326 if(rot > 1439) in AnimTick()
327 rot = 0; in AnimTick()
335 MTXRotDeg(ry, 'Y', (float)rot); in DrawSmoothCube()
336 MTXRotDeg(rz, 'Z', (float)rot / 2.0F); in DrawSmoothCube()
/RvlSDK-2.1/build/demos/gxdemo/src/Transform/
Dtf-pn-mtx.c34 u32 rot; variable
152 MTXRotDeg(rx, 'X', (float)rot); in DrawTick()
153 MTXRotDeg(ry, 'Y', (float)rot); in DrawTick()
154 MTXRotDeg(rz, 'Z', (float)rot); in DrawTick()
299 rot ++; in AnimTick()
300 if(rot > 719) in AnimTick()
301 rot = 0; in AnimTick()
Dtf-tg-mtx.c46 u32 rot; variable
311 rot ++; in AnimTick()
312 if(rot > 1439) in AnimTick()
313 rot = 0; in AnimTick()
330 MTXRotDeg(ry, 'Y', (float)rot); in DrawSmoothCube()
331 MTXRotDeg(rz, 'Z', (float)rot); in DrawSmoothCube()
436 MTXRotDeg(ry, 'Y', (float)rot); in SetProjectionTexGenMtx()
437 MTXRotDeg(rz, 'Z', (float)rot); in SetProjectionTexGenMtx()
522 MTXRotDeg(ry, 'Y', (float)rot); in SetReflectionTexGenMtx()
523 MTXRotDeg(rz, 'Z', (float)rot); in SetReflectionTexGenMtx()
Dtf-mirror.c48 static void GetMirrorMv ( VecPtr trans, VecPtr rot, Mtx mv );
59 u32 rot = 45; // cube rotation variable
424 static void GetMirrorMv( VecPtr trans, VecPtr rot, Mtx mv ) in GetMirrorMv() argument
427 MTXRotDeg(mv, 'X', rot->x); in GetMirrorMv()
428 MTXRotDeg(tm, 'Y', rot->y); // ignore rot->z for now in GetMirrorMv()
500 MTXRotDeg(ry, 'Y', (float)rot); in DrawScene()
501 MTXRotDeg(rz, 'Z', (float)rot); in DrawScene()
628 rot ++; in AnimTick()
629 if (rot > 1439) in AnimTick()
630 rot = 0; in AnimTick()
Dtf-stitch.c133 float rot = 0; variable
310 MTXRotDeg(mry, 'Y', rot); in DrawTick()
386 MTXRotDeg(mry, 'Y', rot); in DrawTick()
416 rot += 2; in AnimTick()
418 rot -= 2; in AnimTick()
478 MTXRotDeg(mry, 'Y', rot); in ComputeNormalRotMtx()
/RvlSDK-2.1/build/demos/gxdemo/src/Lighting/
Dlit-basic.c230 static u32 rot = 60; in DrawTick() local
277 MTXRotDeg(mr, axis[axisc % 3], (f32)rot); in DrawTick()
288 MTXRotDeg(mr, axis[(axisc+1)%3], (f32)rot); in DrawTick()
301 MTXRotDeg(mr, axis[(axisc+2)%3], (f32)rot); in DrawTick()
312 rot++; in DrawTick()
313 if (rot == 360) in DrawTick()
315 rot = 0; in DrawTick()
/RvlSDK-2.1/build/demos/axdemo/src/
Daxart3ddemo.c721 Mtx rot; in AnimTick() local
769 MTXRotAxis(rot, &Camera.zAxis, -stickX * 5.0f / 128.0f); in AnimTick()
770 MTXMultVec(rot, &Camera.xAxis, &Camera.xAxis); in AnimTick()
771 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
804 MTXRotAxis(rot, &WorldZAxis, -stickX * 5.0f / 128.0f); in AnimTick()
805 MTXMultVec(rot, &Camera.xAxis, &Camera.xAxis); in AnimTick()
806 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
807 MTXMultVec(rot, &Camera.zAxis, &Camera.zAxis); in AnimTick()
812 MTXRotAxis(rot, &Camera.xAxis, -stickY * 5.0f / 128.0f); in AnimTick()
813 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
[all …]
/RvlSDK-2.1/build/demos/gxdemo/src/Framebuffer/
Dfrb-gamma.c511 static u32 rot = 0; in DrawDonuts() local
547 MTXRotDeg(m0, 'y', (rot+i*60)); in DrawDonuts()
558 rot = ++rot % 360; in DrawDonuts()
572 static u32 rot = 0; in DrawLitOcta() local
606 MTXRotDeg(mr, 'y', (f32)rot/2); in DrawLitOcta()
617 rot = ++rot % 720; in DrawLitOcta()
/RvlSDK-2.1/build/demos/videmo/src/
Dfrb-vi-gamma.c563 static u32 rot = 0; in DrawDonuts() local
599 MTXRotDeg(m0, 'y', (rot+i*60)); in DrawDonuts()
610 rot = ++rot % 360; in DrawDonuts()
624 static u32 rot = 0; in DrawLitOcta() local
658 MTXRotDeg(mr, 'y', (f32)rot/2); in DrawLitOcta()
669 rot = ++rot % 720; in DrawLitOcta()
/RvlSDK-2.1/build/demos/gxdemo/src/DisplayList/
DDL-tex.c477 u32 rot; // current cube rotation variable
690 MTXRotDeg(ry, 'Y', (float)rot); in DrawTick()
691 MTXRotDeg(rz, 'Z', (float)rot / 2.0F); in DrawTick()
726 rot ++; in AnimTick()
727 if(rot > 1439) in AnimTick()
728 rot = 0; in AnimTick()
743 rot = 45; in ParameterInit()
DDL-geom.c56 u32 rot = 0; variable
383 MTXRotDeg(r1, 'X', (float)rot); in DrawTick()
384 MTXRotDeg(r2, 'y', (float)rot/2.0F); in DrawTick()
500 rot ++; in AnimTick()
501 if(rot > 719) in AnimTick()
503 rot = 0; in AnimTick()
/RvlSDK-2.1/build/demos/gxdemo/src/Tev/
Dtev-swap.c357 static u32 rot = 0; in DrawDonuts() local
396 MTXRotDeg(m0, 'y', (rot+i*60)); in DrawDonuts()
407 rot = ++rot % 360; in DrawDonuts()
Dtev-complex.c121 Mtx rot; member
394 MTXRotDeg(sc->model.rot, 'x', 30); in DrawInit()
430 MTXConcat(sc->cam.view, sc->model.rot, mr); in DrawTick()
439 MTXConcat(mn, sc->model.rot, mv); in DrawTick()
474 MTXConcat(mry, sc->model.rot, sc->model.rot); in AnimTick()
475 MTXConcat(mrx, sc->model.rot, sc->model.rot); in AnimTick()
Dtev-outline.c336 f32 rot; member
472 pipe[i].rot = angle / ((NUMRINGS-3) * 2); in myAnimeModel()
480 MTXRotDeg( tmpMtx, 'Y', pipe[i].rot ); in myAnimeModel()
/RvlSDK-2.1/build/demos/gxdemo/src/Indirect/
Dind-warp.c207 static void TexUpdate( f32 phase, f32 freq, f32 amp, f32 rot, u8 func ) in TexUpdate() argument
225 dx = (f32) nI / WIDTH_LYR1 * cosf(rot); in TexUpdate()
226 dy = (f32) nJ / HEIGHT_LYR1 * sinf(rot); in TexUpdate()