Searched refs:fSine (Results 1 – 2 of 2) sorted by relevance
149 float fCosine, fSine; in PVRTMatrixRotationXF() local154 fSine = (float)PVRTFSIN(-fAngle); in PVRTMatrixRotationXF()157 fSine = (float)PVRTFSIN(fAngle); in PVRTMatrixRotationXF()162 mOut.f[ 1]=0.0f; mOut.f[ 5]=fCosine; mOut.f[ 9]=fSine; mOut.f[13]=0.0f; in PVRTMatrixRotationXF()163 mOut.f[ 2]=0.0f; mOut.f[ 6]=-fSine; mOut.f[10]=fCosine; mOut.f[14]=0.0f; in PVRTMatrixRotationXF()177 float fCosine, fSine; in PVRTMatrixRotationYF() local182 fSine = (float)PVRTFSIN(-fAngle); in PVRTMatrixRotationYF()185 fSine = (float)PVRTFSIN(fAngle); in PVRTMatrixRotationYF()189 mOut.f[ 0]=fCosine; mOut.f[ 4]=0.0f; mOut.f[ 8]=-fSine; mOut.f[12]=0.0f; in PVRTMatrixRotationYF()191 mOut.f[ 2]=fSine; mOut.f[ 6]=0.0f; mOut.f[10]=fCosine; mOut.f[14]=0.0f; in PVRTMatrixRotationYF()[all …]
154 int fCosine, fSine; in PVRTMatrixRotationXX() local159 fSine = PVRTXSIN(-fAngle); in PVRTMatrixRotationXX()162 fSine = PVRTXSIN(fAngle); in PVRTMatrixRotationXX()167 mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=fCosine; mOut.f[ 9]=fSine; mOut.f[13]=PVRTF2X(0.0f); in PVRTMatrixRotationXX()168 mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=-fSine; mOut.f[10]=fCosine; mOut.f[14]=PVRTF2X(0.0f); in PVRTMatrixRotationXX()182 int fCosine, fSine; in PVRTMatrixRotationYX() local187 fSine = PVRTXSIN(-fAngle); in PVRTMatrixRotationYX()190 fSine = PVRTXSIN(fAngle); in PVRTMatrixRotationYX()194 mOut.f[ 0]=fCosine; mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=-fSine; mOut.f[12]=PVRTF2X(0.0f); in PVRTMatrixRotationYX()196 mOut.f[ 2]=fSine; mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=fCosine; mOut.f[14]=PVRTF2X(0.0f); in PVRTMatrixRotationYX()[all …]