MCPcopy 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
220void Ray::transform(const Mat4& matrix)
221{
222 matrix.transformPoint(&_origin);
223 matrix.transformVector(&_direction);
224 _direction.normalize();
225}
226
227}

Callers 1

intersectsMethod · 0.45

Calls 2

transformVectorMethod · 0.80
normalizeMethod · 0.45

Tested by

no test coverage detected