Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
754
Quaternion Quaternion::FromEuler(float x, float y, float z)
755
{
756
XMVECTOR q = XMQuaternionRotationRollPitchYaw(x, y, z);
757
return Quaternion(q);
758
}
759
760
Quaternion Quaternion::Normalize(const Quaternion& q)
761
{
Callers
nothing calls this directly
Calls
1
Quaternion
Class · 0.85
Tested by
no test coverage detected