Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ xform
Method
xform
modules/gui/gui/src/backend/text_server/transform_2d.h:166–172 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
}
165
166
Vector2 Transform2D::xform(const Vector2& p_vec) const
167
{
168
return Vector2(
169
tdotx(p_vec),
170
tdoty(p_vec)) +
171
columns[2];
172
}
173
174
Vector2 Transform2D::xform_inv(const Vector2& p_vec) const
175
{
Callers
nothing calls this directly
Calls
6
Vector2
Class · 0.85
expand_to
Method · 0.80
resize_default
Method · 0.45
size
Method · 0.45
ptr
Method · 0.45
ptrw
Method · 0.45
Tested by
no test coverage detected