Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alecthomas/entityx
/ Position
Method
Position
entityx/Entity_test.cc:44–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
struct Position {
44
Position(float x = 0.0f, float y = 0.0f) : x(x), y(y) {}
45
46
bool operator==(const Position &other) const {
47
return x == other.x && y == other.y;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected