MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / operator -

Method operator -

jni/venus/vec3.h:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 // unary operators
78 vec3<T> operator +() const { return vec3<T>(+x, +y, +z); }
79 vec3<T> operator -() const { return vec3<T>(-x, -y, -z); }
80
81 // binary operators, multiply and divide operations for scalar
82 friend vec3<T> operator +(const vec3<T>& lhs, const vec3<T>& rhs) { vec3<T> result(lhs); result += rhs; return result; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected