Searched refs:Matrix4 (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A DMatrix.h12 struct Matrix4 struct
16 Matrix4();
17 Matrix4(float m00, float m01, float m02, float m03,
22 static Matrix4 identity();
23 static Matrix4 rotate(float angle, const Vector3 &p);
24 static Matrix4 translate(const Vector3 &t);
25 static Matrix4 scale(const Vector3 &s);
26 static Matrix4 frustum(float l, float r, float b, float t, float n, float f);
27 static Matrix4 perspective(float fov, float aspectRatio, float n, float f);
28 static Matrix4 orth
[all...]
H A DMatrix.cpp12 Matrix4::Matrix4() function in class:Matrix4
20 Matrix4::Matrix4(float m00, float m01, float m02, float m03, function in class:Matrix4
31 Matrix4 Matrix4::identity()
33 return Matrix4(1.0f, 0.0f, 0.0f, 0.0f,
39 Matrix4 Matrix4::rotate(float angle, const Vector3 &p)
46 return Matrix4( cos_
[all...]
/external/clang/test/SemaCXX/
H A Dcomposite-pointer-type.cpp48 typedef double Matrix4[4][4]; typedef
50 bool f(Matrix4 m1, const Matrix4 m2) {
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/
H A DPostSubBuffer.cpp104 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
107 Matrix4 modelMatrix = Matrix4::translate(Vector3(0.0f, 0.0f, -2.0f)) *
108 Matrix4::rotate(mRotation, Vector3(1.0f, 0.0f, 1.0f));
110 Matrix4 viewMatrix = Matrix4::identity();
112 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/
H A DSimpleVertexShader.cpp91 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
94 Matrix4 modelMatrix = Matrix4::translate(Vector3(0.0f, 0.0f, -2.0f)) *
95 Matrix4::rotate(mRotation, Vector3(1.0f, 0.0f, 1.0f));
97 Matrix4 viewMatrix = Matrix4::identity();
99 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTransformationMatrix.h55 __declspec(align(16)) typedef double Matrix4[4][4]; typedef in class:blink::TransformationMatrix
57 typedef double Matrix4[4][4] __attribute__((aligned (16))); typedef in class:blink::TransformationMatrix
60 typedef double Matrix4[4][4]; typedef in class:blink::TransformationMatrix
349 void setMatrix(const Matrix4 m)
352 memcpy(m_matrix, m, sizeof(Matrix4));
355 Matrix4 m_matrix;
H A DTransformationMatrix.cpp118 static double determinant4x4(const TransformationMatrix::Matrix4& m)
165 static void adjoint(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& result)
212 static bool inverse(const TransformationMatrix::Matrix4& matrix, TransformationMatrix::Matrix4& result)
240 static void transposeMatrix4(const TransformationMatrix::Matrix4& a, TransformationMatrix::Matrix4& b)
248 static void v4MulPointByMatrix(const Vector4 p, const TransformationMatrix::Matrix4& m, Vector4 result)
298 static bool decompose(const TransformationMatrix::Matrix4& mat, TransformationMatrix::DecomposedType& result)
300 TransformationMatrix::Matrix4 localMatri
[all...]
/external/eigen/test/eigen2/
H A Deigen2_geometry.cpp23 typedef Matrix<Scalar,4,4> Matrix4; typedef
186 Matrix4 mat4;
200 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
210 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
219 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
H A Deigen2_geometry_with_eigen2_prefix.cpp25 typedef Matrix<Scalar,4,4> Matrix4; typedef
188 Matrix4 mat4;
202 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
212 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
221 VERIFY_IS_APPROX(t4.matrix(), Matrix4::Identity());
/external/eigen/test/
H A Dgeo_transformations.cpp83 typedef Matrix<Scalar,4,4> Matrix4; typedef
185 Matrix4 mat4;
351 Matrix4 t044 = Matrix4::Zero();
357 t044 = Matrix4::Zero();

Completed in 116 milliseconds