Searched refs:f2vt (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTPrint3D.cpp | 901 pVertices[VertexCount+0].sx = f2vt(XPos + fAOff); in UpdateLine() 902 pVertices[VertexCount+0].sy = f2vt(YPos + fYOffset); in UpdateLine() 903 pVertices[VertexCount+0].sz = f2vt(fZPos); in UpdateLine() 904 pVertices[VertexCount+0].rhw = f2vt(1.0f); in UpdateLine() 905 pVertices[VertexCount+0].tu = f2vt(m_pUVs[uiIdx].fUL); in UpdateLine() 906 pVertices[VertexCount+0].tv = f2vt(m_pUVs[uiIdx].fVT); in UpdateLine() 908 pVertices[VertexCount+1].sx = f2vt(XPos + fAOff + PVRTMakeWhole(m_pRects[uiIdx].nW * fScale)); in UpdateLine() 909 pVertices[VertexCount+1].sy = f2vt(YPos + fYOffset); in UpdateLine() 910 pVertices[VertexCount+1].sz = f2vt(fZPos); in UpdateLine() 911 pVertices[VertexCount+1].rhw = f2vt(1.0f); in UpdateLine() [all …]
|
D | PVRTVector.cpp | 274 pos = neg = f2vt(0.0); in inverse() 290 if (det_1 == f2vt(0.0)) //|| (VERTTYPEABS(det_1 / (pos - neg)) < 1.0e-15) in inverse() 299 det_1 = VERTTYPEDIV(f2vt(1.0f), det_1); in inverse() 316 out.f[ 3] = f2vt(0.0f); in inverse() 317 out.f[ 7] = f2vt(0.0f); in inverse() 318 out.f[11] = f2vt(0.0f); in inverse() 319 out.f[15] = f2vt(1.0f); in inverse() 354 if(pSrc[i][nCnt] != f2vt(0.0f)) in PVRTLinearEqSolve() 371 _ASSERT(pSrc[nCnt-1][nCnt] != f2vt(0.0f)); in PVRTLinearEqSolve() 394 _ASSERT(pSrc[nCnt-1][nCnt] != f2vt(0)); in PVRTLinearEqSolve()
|
D | PVRTVector.h | 260 return (VERTTYPE) f2vt(sqrt(vt2f(x)*vt2f(x) + vt2f(y)*vt2f(y))); in length() 423 friend PVRTVec3 operator - (const PVRTVec3& rhs) { return PVRTVec3(rhs) *= f2vt(-1); } 562 return (VERTTYPE) f2vt(sqrt(vt2f(x)*vt2f(x) + vt2f(y)*vt2f(y) + vt2f(z)*vt2f(z))); in length() 917 …return (VERTTYPE) f2vt(sqrt(vt2f(x)*vt2f(x) + vt2f(y)*vt2f(y) + vt2f(z)*vt2f(z) + vt2f(w)*vt2f(w))… in length() 1238 recDet = VERTTYPEDIV(f2vt(1.0f),recDet); in inverse() 1360 0,0,f2vt(1)); in Scale2D() 1371 return PVRTMat3( f2vt(1), 0, 0, in Translation2D() 1372 0, f2vt(1), 0, in Translation2D() 1373 tx, ty, f2vt(1)); in Translation2D() 1776 out.f[0] = f2vt(1);out.f[1] = 0;out.f[2] = 0;out.f[3] = 0; in Identity() [all …]
|
D | PVRTMisc.cpp | 283 VERTTYPE unit = f2vt(1); in PVRTCreateSkybox() 288 VERTTYPE oneover = f2vt(1.0f / textureSize); in PVRTCreateSkybox() 289 a0 = VERTTYPEMUL(f2vt(4.0f), oneover); in PVRTCreateSkybox() 353 for (int i=0; i<24*3; i++) (*Vertices)[i] = VERTTYPEMUL((*Vertices)[i], f2vt(scale)); in PVRTCreateSkybox()
|
D | PVRTFixedPoint.h | 78 #define f2vt(f) PVRTF2X(f) macro 98 #define f2vt(x) (x) macro
|
D | PVRTTrans.h | 127 const VERTTYPE fW = f2vt(1.0f));
|
D | PVRTModelPOD.cpp | 1516 VERTTYPE fQuat[4] = {0,0,0,f2vt(1)}; in ReadNode() 1517 VERTTYPE fScale[7] = {f2vt(1),f2vt(1),f2vt(1),0,0,0,0}; in ReadNode() 2251 _ASSERT(fFrame <= f2vt((float)(nNumFrame-1))); 2253 m_pImpl->fBlend = fFrame - f2vt(m_pImpl->nFrame); 2907 nWeight[i] = (int)vt2f((VERTTYPEMUL(f2vt(255.0f), pfBoneWeight[i])));
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTPrint3DAPI.cpp | 594 PVRTMatrixScaling(matTransform, f2vt(fScale), f2vt(fScale), f2vt(1.0f)); in APIDrawLogo()
|