Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/demos/gxdemo/src/TexGen/
Dtg-light-fx.c665 Vec vview = { 0.0F, 0.0F, -1.0F }; in SetTexGenMtx1() local
679 VECHalfAngle(&vlight, &vview, &vhalf); in SetTexGenMtx1()
720 Vec vview = { 0.0F, 0.0F, 1.0F }; in SetTexGenMtx2() local
733 dotp = VECDotProduct(&vlight, &vview); in SetTexGenMtx2()
742 VECHalfAngle(&vlight, &vview, &vhalf); in SetTexGenMtx2()
760 VECCrossProduct(&vhalf, &vview, &vaxis); // rotation axis in SetTexGenMtx2()
761 r = acosf(VECDotProduct(&vview, &vhalf)); // rotation amounts in SetTexGenMtx2()