MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ToVector2

Function ToVector2

TombEngine/Game/savegame.cpp:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static Vector2 ToVector2(const Save::Vector2* vec)
149{
150 return Vector2(vec->x(), vec->y());
151}
152
153static Vector2i ToVector2i(const Save::Vector2* vec)
154{

Callers 10

ParseLuaFunction · 0.85
NormalizeMethod · 0.85
TranslateMethod · 0.85
RotateMethod · 0.85
LerpMethod · 0.85
CrossMethod · 0.85
DotMethod · 0.85
DistanceMethod · 0.85
LengthMethod · 0.85
Vec2.cppFile · 0.85

Calls 1

Vector2Function · 0.50

Tested by

no test coverage detected