Searched refs:Vector4 (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A DVector.h60 struct Vector4 struct
71 Vector4();
72 Vector4(float x, float y, float z, float w);
74 static float length(const Vector4 &vec);
75 static float lengthSquared(const Vector4 &vec);
77 static Vector4 normalize(const Vector4 &vec);
79 static float dot(const Vector4 &a, const Vector4 &b);
H A DVector.cpp145 Vector4::Vector4() function in class:Vector4
153 Vector4::Vector4(float x, float y, float z, float w) function in class:Vector4
161 float Vector4::length(const Vector4 &vec)
167 float Vector4::lengthSquared(const Vector4 &vec)
175 Vector4 Vector4
[all...]
H A DMatrix.h34 static Vector3 transform(const Matrix4 &mat, const Vector4 &pt);
41 Vector4 operator*(const Matrix4 &a, const Vector4 &b);
H A DMatrix.cpp141 Vector4 transformed = Vector4::normalize(mat * Vector4(pt.x, pt.y, pt.z, 1.0f));
145 Vector3 Matrix4::transform(const Matrix4 &mat, const Vector4 &pt)
147 Vector4 transformed = Vector4::normalize(mat * pt);
196 Vector4 operator*(const Matrix4 &a, const Vector4 &b)
198 return Vector4(a.data[ 0] * b.x + a.data[ 4] * b.y + a.data[ 8] * b.z + a.data[12] * b.w,
/external/eigen/test/
H A Dgeo_orthomethods.cpp25 typedef Matrix<Scalar,4,1> Vector4; typedef
54 Vector4 v40 = Vector4::Random(),
55 v41 = Vector4::Random(),
56 v42 = Vector4::Random();
H A Dgeo_quaternion.cpp52 typedef Matrix<Scalar,4,1> Vector4;
166 q1.coeffs() = Vector4::Random().normalized();
H A Dgeo_transformations.cpp86 typedef Matrix<Scalar,4,1> Vector4; typedef
186 mat4 << mat3 , Vector3::Zero() , Vector4::Zero().transpose();
/external/chromium_org/third_party/angle/src/common/
H A Dmathutil.h25 struct Vector4 struct in namespace:gl
27 Vector4() {} function in struct:gl::Vector4
28 Vector4(float x, float y, float z, float w) : x(x), y(y), z(z), w(w) {} function in struct:gl::Vector4
/external/chromium_org/third_party/angle/samples/angle/particle_system/
H A DParticleSystem.cpp152 Vector4 color(RandomBetween(0.0f, 1.0f),
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTransformationMatrix.cpp76 typedef double Vector4[4]; typedef in namespace:blink
248 static void v4MulPointByMatrix(const Vector4 p, const TransformationMatrix::Matrix4& m, Vector4 result)
326 Vector4 rightHandSide;
339 Vector4 perspectivePoint;
364 // Vector4 type and functions need to be added to the common set.
/external/eigen/test/eigen2/
H A Deigen2_geometry.cpp26 typedef Matrix<Scalar,4,1> Vector4; typedef
187 mat4 << mat3 , Vector3::Zero() , Vector4::Zero().transpose();
H A Deigen2_geometry_with_eigen2_prefix.cpp28 typedef Matrix<Scalar,4,1> Vector4; typedef
189 mat4 << mat3 , Vector3::Zero() , Vector4::Zero().transpose();

Completed in 2045 milliseconds