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

Method SetYRotation

SampleFramework12/v1.00/Graphics/Camera.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void FirstPersonCamera::SetYRotation(float yRotation)
226{
227 yRot = XMScalarModAngle(yRotation);
228 SetOrientation(Quaternion(XMQuaternionRotationRollPitchYaw(xRot, yRot, 0)));
229}
230
231}

Callers 2

InitializeSceneMethod · 0.80
UpdateMethod · 0.80

Calls 1

QuaternionClass · 0.85

Tested by

no test coverage detected