| 63 | } |
| 64 | |
| 65 | inline vec3<T> operator-() const { |
| 66 | return vec3<T>(-array[0], -array[1], -array[2]); |
| 67 | } |
| 68 | |
| 69 | inline vec3<T> operator+(const vec3 &other) const { |
| 70 | return vec3<T>(array[0] + other.array[0], array[1] + other.array[1], array[2] + other.array[2]); |
nothing calls this directly
no outgoing calls
no test coverage detected