Home
last modified time | relevance | path

Searched refs:perspectiveMatrix (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_utils_lite/frameworks/
H A Dtransform.cpp202 Matrix4<float> perspectiveMatrix; in GetOrigPoint() local
203 perspectiveMatrix[2][2] = 0; // 2 : index in GetOrigPoint()
205 perspectiveMatrix[2][3] = -1.0f / cameraDistance_; // 2 3 : index in GetOrigPoint()
207 perspectiveMatrix_ = translateToCamera * (perspectiveMatrix * translateFromCamera); in GetOrigPoint()
271 Matrix4<float> perspectiveMatrix; in UpdateMap() local
272 perspectiveMatrix[2][2] = 0; // 2 : index in UpdateMap()
274 perspectiveMatrix[2][3] = -1.0f / cameraDistance_; // 2 3 : index in UpdateMap()
276 perspectiveMatrix_ = translateToCamera * (perspectiveMatrix * translateFromCamera); in UpdateMap()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dtransform_util.cpp483 void TransformUtil::ProcessMatrix(const Matrix4& matrix, const Matrix4& perspectiveMatrix, DecomposedTransform& out) in ProcessMatrix() argument
489 Matrix4 inversePerspectiveMatrix = Matrix4::Invert(perspectiveMatrix); in ProcessMatrix()
514 Matrix4 perspectiveMatrix = matrix; in DecomposeTransform() local
516 perspectiveMatrix.Set(3, i, 0.0); in DecomposeTransform()
518 perspectiveMatrix.Set(3, 3, 1.0); in DecomposeTransform()
519 ProcessMatrix(matrix, perspectiveMatrix, out); in DecomposeTransform()
H A Dtransform_util.h234 static void ProcessMatrix(const Matrix4& matrix, const Matrix4& perspectiveMatrix, DecomposedTransform& out);
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmatrix_util.h748 Mat4X4 perspectiveMatrix(localMatrix); in Decompose()
750 perspectiveMatrix[i].w = 0.0f; in Decompose()
752 perspectiveMatrix.w.w = 1.0f; in Decompose()
755 const Mat4X4 inversePerspectiveMatrix = Inverse(perspectiveMatrix, determinant); in Decompose()

Completed in 5 milliseconds