Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ ToVector2
Method
ToVector2
TombEngine/Scripting/Internal/TEN/Types/Vec2/Vec2.cpp:250–253 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
248
}
249
250
Vector2 Vec2::ToVector2() const
251
{
252
return Vector2(x, y);
253
}
254
255
/*Vector2i Vec2::ToVector2i() const
256
{
Callers
7
GetAspectCorrect2DPosition
Function · 0.45
Translate
Method · 0.45
Lerp
Method · 0.45
Cross
Method · 0.45
Dot
Method · 0.45
Distance
Method · 0.45
GetAspectRatio
Function · 0.45
Calls
1
Vector2
Function · 0.50
Tested by
no test coverage detected