MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / FromAxisAngle

Method FromAxisAngle

SampleFramework12/v1.00/SF12_Math.cpp:748–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746}
747
748Quaternion Quaternion::FromAxisAngle(const Float3& axis, float angle)
749{
750 XMVECTOR q = XMQuaternionRotationAxis(axis.ToSIMD(), angle);
751 return Quaternion(q);
752}
753
754Quaternion Quaternion::FromEuler(float x, float y, float z)
755{

Callers

nothing calls this directly

Calls 2

QuaternionClass · 0.85
ToSIMDMethod · 0.45

Tested by

no test coverage detected