Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTVector.h24 struct PVRTMat4;
792 PVRTVec4 operator*(const PVRTMat4& rhs) const;
799 PVRTVec4& operator*=(const PVRTMat4& rhs);
1022 PVRTMat3(const PVRTMat4& mat);
1382 struct PVRTMat4 : public PVRTMATRIX struct
1390 PVRTMat4(){} in PVRTMat4() argument
1410 PVRTMat4(VERTTYPE m0,VERTTYPE m1,VERTTYPE m2,VERTTYPE m3, in PVRTMat4() function
1424 PVRTMat4(const VERTTYPE* mat) in PVRTMat4() function
1465 PVRTMat4 operator*(const PVRTMat4& rhs) const;
1472 PVRTMat4 operator+(const PVRTMat4& rhs) const
[all …]
DPVRTVector.cpp93 PVRTVec4 PVRTVec4::operator*(const PVRTMat4& rhs) const in operator *()
109 PVRTVec4& PVRTVec4::operator*=(const PVRTMat4& rhs) in operator *=()
129 PVRTMat3::PVRTMat3(const PVRTMat4& mat) in PVRTMat3()
150 PVRTMat4 out; in RotationX()
162 PVRTMat4 out; in RotationY()
174 PVRTMat4 out; in RotationZ()
189 PVRTMat4 PVRTMat4::RotationX(VERTTYPE angle) in RotationX()
191 PVRTMat4 out; in RotationX()
201 PVRTMat4 PVRTMat4::RotationY(VERTTYPE angle) in RotationY()
203 PVRTMat4 out; in RotationY()
[all …]
DPVRTModelPOD.h458 PVRTMat4 GetRotationMatrix(
477 PVRTMat4 GetScalingMatrix(
515 PVRTMat4 GetTranslationMatrix(
542 PVRTMat4 GetWorldMatrixNoCache(
561 PVRTMat4 GetWorldMatrix(const SPODNode& node) const;
580 PVRTMat4 GetBoneWorldMatrix(
DPVRTPrint3D.h146 void SetProjection(const PVRTMat4& mProj);
153 void SetModelView(const PVRTMat4& mModelView);
461 PVRTMat4 m_mProj;
462 PVRTMat4 m_mModelView;
DPVRTModelPOD.cpp2316 PVRTMat4 CPVRTModelPOD::GetRotationMatrix(const SPODNode &node) const
2318 PVRTMat4 mOut;
2375 PVRTMat4 CPVRTModelPOD::GetScalingMatrix(const SPODNode &node) const
2377 PVRTMat4 mOut;
2485 PVRTMat4 CPVRTModelPOD::GetTranslationMatrix(const SPODNode &node) const
2487 PVRTMat4 mOut;
2565 PVRTMat4 CPVRTModelPOD::GetWorldMatrixNoCache(const SPODNode& node) const
2567 PVRTMat4 mWorld;
2628 PVRTMat4 CPVRTModelPOD::GetWorldMatrix(const SPODNode& node) const
2630 PVRTMat4 mWorld;
[all …]
DPVRTPrint3D.cpp985 void CPVRTPrint3D::SetProjection(const PVRTMat4& mProj) in SetProjection()
995 void CPVRTPrint3D::SetModelView(const PVRTMat4& mModelView) in SetModelView()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp608 PVRTMat4 mView, mProjection; in RenderScene()
627 mView = PVRTMat4::LookAtRH(vFrom, vTo, vUp); in RenderScene()
630 …jection = PVRTMat4::PerspectiveFovRH(fFOV, (float)PVRShellGet(prefWidth)/(float)PVRShellGet(prefH… in RenderScene()
640 PVRTMat4 mViewProjection; in RenderScene()
698 PVRTMat4 mWorld; in RenderScene()
708 mWorld *= PVRTMat4::RotationY(m_fWallPos); in RenderScene()
722 PVRTMat4 mWallWorld = m_Scene.GetWorldMatrix(m_Scene.pNode[eWall]); in RenderScene()
723 mWorld = mWallWorld * PVRTMat4::RotationY(m_fWallPos) * mWallWorld.inverse() * mWorld; in RenderScene()
733 PVRTMat4 mModelViewProj; in RenderScene()
802 PVRTMat4 amBoneWorld[8]; in DrawSkinnedMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp92 PVRTMat4 m_View, m_Projection;
441 m_View = PVRTMat4::LookAtRH(vFrom, vTo, vUp); in InitView()
444 …jection = PVRTMat4::PerspectiveFovRH(fFOV, (float)PVRShellGet(prefWidth)/(float)PVRShellGet(prefHe… in InitView()
562 PVRTMat4 mWorld; in RenderScene()
566 PVRTMat4 mModelView, mMVP; in RenderScene()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPrint3DAPI.cpp252 PVRTMat4 mxOrtho = PVRTMat4::Ortho(0.0f, 0.0f, fW, -fH, -1.0f, 1.0f, PVRTMat4::OGL, m_bRotate); in Flush()
255 PVRTMat4 mxTrans = PVRTMat4::Translation(-fH,fW,0.0f); in Flush()
264 PVRTMat4& mProj = (m_bUsingProjection ? m_mProj : mxOrtho); in Flush()
265 PVRTMat4 mMVP = mProj * m_mModelView; in Flush()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp116 PVRTMat4 m_mViewProjection;
596 …m_mViewProjection = PVRTMat4::PerspectiveFovRH(CAM_FOV, fAspect, CAM_NEAR, CAM_FAR, PVRTMat4::OGL,… in InitView()
597 …m_mViewProjection *= PVRTMat4::LookAtRH(PVRTVec3(0.f, 0.f, 150.f), PVRTVec3(0.f), PVRTVec3(0.f, 1.… in InitView()
739 PVRTMat4 mModel = PVRTMat4::RotationY(ulTime * 0.0015f); in RenderScene()
742 PVRTMat4 mMVP = m_mViewProjection * mModel; in RenderScene()