Lines Matching refs:Vector3
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()
80 void move(Vector3 offset) { in move()
91 Vector3 normalized = startVertices_[i].position - center_; in setRotation()
92 Vector3 out{{0, 0, 0}}; in setRotation()
103 Vector3 center{{0, 0, 0}}; in findCenter()
110 Vector3 center_;