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

Function ConvertQuatToDirection

TombEngine/Math/Geometry.cpp:323–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 }
322
323 Vector3 ConvertQuatToDirection(const Quaternion& quat)
324 {
325 return Vector3::Transform(Vector3::UnitZ, quat);
326 }
327
328 bool IsPointInFront(const Pose& pose, const Vector3& target)
329 {

Callers 3

AddDebugConeMethod · 0.85
AddDebugCylinderMethod · 0.85
UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected