MCPcopy Create free account
hub / github.com/admtrv/objcurses / operator-

Method operator-

utils/mathematics.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14Vec3 Vec3::operator-(const Vec3 &other) const
15{
16 return { x - other.x, y - other.y, z - other.z };
17}
18
19Vec3 Vec3::operator*(const float scalar) const
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected