Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
148
static Vector2 ToVector2(const Save::Vector2* vec)
149
{
150
return Vector2(vec->x(), vec->y());
151
}
152
153
static Vector2i ToVector2i(const Save::Vector2* vec)
154
{
Callers
10
ParseLua
Function · 0.85
Normalize
Method · 0.85
Translate
Method · 0.85
Rotate
Method · 0.85
Lerp
Method · 0.85
Cross
Method · 0.85
Dot
Method · 0.85
Distance
Method · 0.85
Length
Method · 0.85
Vec2.cpp
File · 0.85
Calls
1
Vector2
Function · 0.50
Tested by
no test coverage detected