Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ transform
Method
transform
core/3d/Ray.cpp:220–225 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
218
}
219
220
void Ray::transform(const Mat4& matrix)
221
{
222
matrix.transformPoint(&_origin);
223
matrix.transformVector(&_direction);
224
_direction.normalize();
225
}
226
227
}
Callers
1
intersects
Method · 0.45
Calls
2
transformVector
Method · 0.80
normalize
Method · 0.45
Tested by
no test coverage detected