Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alecthomas/entityx
/ Direction
Method
Direction
entityx/System_test.cc:30–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
struct Direction : Component<Direction> {
30
explicit Direction(float x = 0.0f, float y = 0.0f) : x(x), y(y) {}
31
32
float x, y;
33
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected