MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / RotatePoint

Function RotatePoint

TombEngine/Math/Geometry.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 Vector3 RotatePoint(const Vector3& point, const EulerAngles& rot)
123 {
124 auto rotMatrix = rot.ToRotationMatrix();
125 return Vector3::Transform(point, rotMatrix);
126 }
127
128 Vector3 RotatePoint(const Vector3& point, const AxisAngle& rot)
129 {

Callers 3

ControlFireflySwarmFunction · 0.85
SpawnWraithTailsFunction · 0.85
ToDirectionMethod · 0.85

Calls 1

ToRotationMatrixMethod · 0.45

Tested by

no test coverage detected