Searched refs:Vector3 (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | Model.h | 24 union Vector3 { union 29 Vector3 operator*(float value) { return Vector3{{x * value, y * value, z * value}}; } 30 Vector3 operator/(float value) { return Vector3{{x / value, y / value, z / value}}; } 31 Vector3 operator+(Vector3 const &other) { 32 return Vector3{{x + other.x, y + other.y, z + other.z}}; 34 Vector3 operator-(Vector3 const &other) { 35 return Vector3{{x - other.x, y - other.y, z - other.z}}; 50 constexpr Vertex(const Vector3 &inPosition, const Vector2 &inUV) in Vertex() 53 Vector3 position; 78 inline const Vector3 getCenter() { return center_; } in getCenter() [all …]
|
D | Renderer.cpp | 305 Vertex(Vector3{{0.3, 0.3, 0}}, Vector2{{0, 0}}), // 0 in addHead() 306 Vertex(Vector3{{-0.3, 0.3, 0}}, Vector2{{1, 0}}), // 1 in addHead() 307 Vertex(Vector3{{-0.3, -0.3, 0}}, Vector2{{1, 1}}), // 2 in addHead() 308 Vertex(Vector3{{0.3, -0.3, 0}}, Vector2{{0, 1}}) // 3 in addHead() 315 Vector3 offset{{x, y, 0}}; in addHead()
|
D | Shader.cpp | 147 sizeof(Vector3) // offset Vector3 from the start in drawModel()
|