MCPcopy Create free account
hub / github.com/alecthomas/entityx / Direction

Method Direction

entityx/Entity_test.cc:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58struct Direction {
59 Direction(float x = 0.0f, float y = 0.0f) : x(x), y(y) {}
60
61 bool operator==(const Direction &other) const {
62 return x == other.x && y == other.y;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected