Searched refs:perspectiveMatrix (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | transform.cpp | 202 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 D | transform_util.cpp | 483 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 D | transform_util.h | 234 static void ProcessMatrix(const Matrix4& matrix, const Matrix4& perspectiveMatrix, DecomposedTransform& out);
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | matrix_util.h | 748 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