Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTVector.h37 void PVRTLinearEqSolve(VERTTYPE * const pRes, VERTTYPE ** const pSrc, const int nCnt);
45 VERTTYPE x, y;
58 PVRTVec2(VERTTYPE fX, VERTTYPE fY) : x(fX), y(fY) {} in PVRTVec2()
63 PVRTVec2(VERTTYPE fValue) : x(fValue), y(fValue) {} in PVRTVec2()
68 PVRTVec2(const VERTTYPE* pVec) : x(pVec[0]), y(pVec[1]) {} in PVRTVec2()
135 friend PVRTVec2 operator*(const VERTTYPE lhs, const PVRTVec2& rhs)
147 friend PVRTVec2 operator/(const VERTTYPE lhs, const PVRTVec2& rhs)
158 PVRTVec2 operator*(const VERTTYPE& rhs) const
169 PVRTVec2& operator*=(const VERTTYPE& rhs)
193 PVRTVec2 operator/(const VERTTYPE& rhs) const
[all …]
DPVRTModelPOD.h138 VERTTYPE fFOV; /*!< Field of view */
139 VERTTYPE fFar; /*!< Far clip plane */
140 VERTTYPE fNear; /*!< Near clip plane */
141 VERTTYPE *pfAnimFOV; /*!< 1 VERTTYPE per frame of animation. */
150 VERTTYPE pfColour[3]; /*!< Light colour (0.0f -> 1.0f for each channel) */
202 VERTTYPE *pfAnimPosition; /*!< 3 floats per frame of animation. */
205 VERTTYPE *pfAnimRotation; /*!< 4 floats per frame of animation. */
208 VERTTYPE *pfAnimScale; /*!< 7 floats per frame of animation. */
211 VERTTYPE *pfAnimMatrix; /*!< 16 floats per frame of animation. */
241 VERTTYPE fMatOpacity; /*!< Material opacity (used with vertex alpha ?) */
[all …]
DPVRTMisc.cpp41 const VERTTYPE pfPlane[4], in PVRTMiscCalculateIntersectionLinePlane()
46 VERTTYPE fN, fD, fT; in PVRTMiscCalculateIntersectionLinePlane()
94 VERTTYPE * const pfVtx, in PVRTMiscCalculateInfinitePlane()
99 const VERTTYPE fFar) in PVRTMiscCalculateInfinitePlane()
106 VERTTYPE fDotProduct; in PVRTMiscCalculateInfinitePlane()
248 static void SetVertex(VERTTYPE** Vertices, int index, VERTTYPE x, VERTTYPE y, VERTTYPE z) in SetVertex()
263 static void SetUV(VERTTYPE** UVs, int index, VERTTYPE u, VERTTYPE v) in SetUV()
278 void PVRTCreateSkybox(float scale, bool adjustUV, int textureSize, VERTTYPE** Vertices, VERTTYPE** … in PVRTCreateSkybox()
280 *Vertices = new VERTTYPE[24*3]; in PVRTCreateSkybox()
281 *UVs = new VERTTYPE[24*2]; in PVRTCreateSkybox()
[all …]
DPVRTMisc.h28 const VERTTYPE pfPlane[4],
50 VERTTYPE * const pfVtx,
55 const VERTTYPE fFar);
65 void PVRTCreateSkybox(float scale, bool adjustUV, int textureSize, VERTTYPE** Vertices, VERTTYPE** …
72 void PVRTDestroySkybox(VERTTYPE* Vertices, VERTTYPE* UVs);
DPVRTFixedPoint.h17 #define VERTTYPE PVRTfloat32 macro
94 #define VERTTYPEMUL(a,b) ( (VERTTYPE)((a)*(b)) )
95 #define VERTTYPEDIV(a,b) ( (VERTTYPE)((a)/(b)) )
96 #define VERTTYPEABS(a) ( (VERTTYPE)(fabs(a)) )
161 VERTTYPE fCenter[3];
162 VERTTYPE *pVertex;
163 VERTTYPE *pUV;
164 VERTTYPE *pNormals;
165 VERTTYPE *pPackedVertex;
DPVRTVector.cpp74 VERTTYPE tx = VERTTYPEMUL(x,rhs.f[0])+VERTTYPEMUL(y,rhs.f[1])+VERTTYPEMUL(z,rhs.f[2]); in operator *=()
75 VERTTYPE ty = VERTTYPEMUL(x,rhs.f[3])+VERTTYPEMUL(y,rhs.f[4])+VERTTYPEMUL(z,rhs.f[5]); in operator *=()
111VERTTYPE tx = VERTTYPEMUL(x,rhs.f[0])+VERTTYPEMUL(y,rhs.f[1])+VERTTYPEMUL(z,rhs.f[2])+VERTTYPEMUL(… in operator *=()
112VERTTYPE ty = VERTTYPEMUL(x,rhs.f[4])+VERTTYPEMUL(y,rhs.f[5])+VERTTYPEMUL(z,rhs.f[6])+VERTTYPEMUL(… in operator *=()
113VERTTYPE tz = VERTTYPEMUL(x,rhs.f[8])+VERTTYPEMUL(y,rhs.f[9])+VERTTYPEMUL(z,rhs.f[10])+VERTTYPEMUL… in operator *=()
131 VERTTYPE *dest = (VERTTYPE*)f, *src = (VERTTYPE*)mat.f; in PVRTMat3()
148 PVRTMat3 PVRTMat3::RotationX(VERTTYPE angle) in RotationX()
160 PVRTMat3 PVRTMat3::RotationY(VERTTYPE angle) in RotationY()
172 PVRTMat3 PVRTMat3::RotationZ(VERTTYPE angle) in RotationZ()
189 PVRTMat4 PVRTMat4::RotationX(VERTTYPE angle) in RotationX()
[all …]
DPVRTFixedPoint.cpp49 new_mesh->pVertex = new VERTTYPE[mesh->nNumVertex*3]; in CreateFixedObjectMesh()
61 new_mesh->pUV = new VERTTYPE[mesh->nNumVertex*2]; in CreateFixedObjectMesh()
70 new_mesh->pNormals = new VERTTYPE[mesh->nNumVertex*3]; in CreateFixedObjectMesh()
97 new_mesh->pPackedVertex = new VERTTYPE[nPackedVertSize]; in CreateFixedObjectMesh()
DPVRTTrans.cpp44 VERTTYPE MinX, MaxX, MinY, MaxY, MinZ, MaxZ; in PVRTBoundingBoxCompute()
132 VERTTYPE MinX, MaxX, MinY, MaxY, MinZ, MaxZ; in PVRTBoundingBoxComputeInterleaved()
226 VERTTYPE fX, fY, fZ, fW; in PVRTBoundingBoxIsVisible()
365 const VERTTYPE fW) in PVRTTransformArray()
425 VERTTYPE *ppfRows[4]; in PVRTTransformBack()
426 VERTTYPE pfIn[20]; in PVRTTransformBack()
DPVRTPrint3D.h72 VERTTYPE sx, sy, sz, rhw;
74 VERTTYPE tu, tv;
DPVRTTrans.h127 const VERTTYPE fW = f2vt(1.0f));
DPVRTModelPOD.cpp178 VERTTYPE fFrame; /*!< Frame number */
179 VERTTYPE fBlend; /*!< Frame blend (AKA fractional part of animation frame number) */
182 VERTTYPE *pfCache; /*!< Cache indicating the frames at which the matrix cache was filled */
1515 VERTTYPE fPos[3] = {0,0,0}; in ReadNode()
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()
1534 s.pfAnimPosition = (VERTTYPE*) malloc(sizeof(fPos)); in ReadNode()
1542 s.pfAnimRotation = (VERTTYPE*) malloc(sizeof(fQuat)); in ReadNode()
1550 s.pfAnimScale = (VERTTYPE*) malloc(sizeof(fScale)); in ReadNode()
2082 m_pImpl->pfCache = new VERTTYPE[nNumNode];
[all …]