Home
last modified time | relevance | path

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

/RvlSDK-3.2/build/demos/gxdemo/src/TexGen/
Dtg-project.c34 static void TextureLightInit( Mtx rot );
357 Mtx rot; in AnimTick() local
409 MTXRotAxisDeg(rot, &CamY, 3.0F); in AnimTick()
411 MTXRotAxisDeg(rot, &CamY, -3.0F); in AnimTick()
413 MTXMultVec(rot, &CamX, &CamX); in AnimTick()
414 MTXMultVec(rot, &CamZ, &CamZ); in AnimTick()
420 MTXRotAxisDeg(rot, &CamX, 3.0F); in AnimTick()
422 MTXRotAxisDeg(rot, &CamX, -3.0F); in AnimTick()
424 MTXMultVec(rot, &CamY, &CamY); in AnimTick()
425 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-3.2/build/demos/gddemo/src/
Dgd-matrix-gc.c149 u32 rot; // current cube rotation variable
407 rot ++; in AnimTick()
408 if(rot > 2159) in AnimTick()
409 rot = 0; in AnimTick()
417 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
418 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
429 if (rot % 120 < 60) in AnimTick()
431 tr = rot % 60; in AnimTick()
433 tr = 60 - (rot % 60); in AnimTick()
466 rot = 45; in ParameterInit()
Dgd-init-gc.c118 u32 rot; // current cube rotation variable
334 rot ++; in AnimTick()
335 if(rot > 2159) in AnimTick()
336 rot = 0; in AnimTick()
344 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
345 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
364 rot = 45; in ParameterInit()
Dgd-texture-gc.c166 u32 rot; // current cube rotation variable
577 rot ++; in AnimTick()
578 if(rot > 2159) in AnimTick()
579 rot = 0; in AnimTick()
587 MTXRotDeg(ry, 'X', (float)rot); in AnimTick()
588 MTXRotDeg(rz, 'Y', (float)rot / 3.0F); in AnimTick()
612 rot = 45; in ParameterInit()
/RvlSDK-3.2/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-3.2/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-3.2/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-3.2/build/demos/gxdemo/src/Transform/
Dtf-pn-mtx.c34 u32 rot; variable
162 MTXRotDeg(rx, 'X', (float)rot); in DrawTick()
163 MTXRotDeg(ry, 'Y', (float)rot); in DrawTick()
164 MTXRotDeg(rz, 'Z', (float)rot); in DrawTick()
309 rot ++; in AnimTick()
310 if(rot > 719) in AnimTick()
311 rot = 0; in AnimTick()
Dtf-tg-mtx.c46 u32 rot; variable
324 rot ++; in AnimTick()
325 if(rot > 1439) in AnimTick()
326 rot = 0; in AnimTick()
343 MTXRotDeg(ry, 'Y', (float)rot); in DrawSmoothCube()
344 MTXRotDeg(rz, 'Z', (float)rot); in DrawSmoothCube()
449 MTXRotDeg(ry, 'Y', (float)rot); in SetProjectionTexGenMtx()
450 MTXRotDeg(rz, 'Z', (float)rot); in SetProjectionTexGenMtx()
535 MTXRotDeg(ry, 'Y', (float)rot); in SetReflectionTexGenMtx()
536 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
320 MTXRotDeg(mry, 'Y', rot); in DrawTick()
396 MTXRotDeg(mry, 'Y', rot); in DrawTick()
426 rot += 2; in AnimTick()
428 rot -= 2; in AnimTick()
488 MTXRotDeg(mry, 'Y', rot); in ComputeNormalRotMtx()
/RvlSDK-3.2/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-3.2/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-3.2/build/demos/axdemo/src/
Daxart3ddemo.c680 Mtx rot; in AnimTick() local
728 MTXRotAxis(rot, &Camera.zAxis, -stickX * 5.0f / 128.0f); in AnimTick()
729 MTXMultVec(rot, &Camera.xAxis, &Camera.xAxis); in AnimTick()
730 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
763 MTXRotAxis(rot, &WorldZAxis, -stickX * 5.0f / 128.0f); in AnimTick()
764 MTXMultVec(rot, &Camera.xAxis, &Camera.xAxis); in AnimTick()
765 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
766 MTXMultVec(rot, &Camera.zAxis, &Camera.zAxis); in AnimTick()
771 MTXRotAxis(rot, &Camera.xAxis, -stickY * 5.0f / 128.0f); in AnimTick()
772 MTXMultVec(rot, &Camera.yAxis, &Camera.yAxis); in AnimTick()
[all …]
/RvlSDK-3.2/build/demos/videmo/src/
Dfrb-vi-gamma.c576 static u32 rot = 0; in DrawDonuts() local
612 MTXRotDeg(m0, 'y', (rot+i*60)); in DrawDonuts()
623 rot = ++rot % 360; in DrawDonuts()
637 static u32 rot = 0; in DrawLitOcta() local
671 MTXRotDeg(mr, 'y', (f32)rot/2); in DrawLitOcta()
682 rot = ++rot % 720; in DrawLitOcta()
/RvlSDK-3.2/build/demos/gxdemo/src/DisplayList/
DDL-tex.c479 u32 rot; // current cube rotation variable
693 MTXRotDeg(ry, 'Y', (float)rot); in DrawTick()
694 MTXRotDeg(rz, 'Z', (float)rot / 2.0F); in DrawTick()
729 rot ++; in AnimTick()
730 if(rot > 1439) in AnimTick()
731 rot = 0; in AnimTick()
746 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-3.2/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-3.2/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()