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

Method FromEuler

SampleFramework12/v1.00/SF12_Math.cpp:754–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752}
753
754Quaternion Quaternion::FromEuler(float x, float y, float z)
755{
756 XMVECTOR q = XMQuaternionRotationRollPitchYaw(x, y, z);
757 return Quaternion(q);
758}
759
760Quaternion Quaternion::Normalize(const Quaternion& q)
761{

Callers

nothing calls this directly

Calls 1

QuaternionClass · 0.85

Tested by

no test coverage detected