Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
225
void FirstPersonCamera::SetYRotation(float yRotation)
226
{
227
yRot = XMScalarModAngle(yRotation);
228
SetOrientation(Quaternion(XMQuaternionRotationRollPitchYaw(xRot, yRot, 0)));
229
}
230
231
}
Callers
2
InitializeScene
Method · 0.80
Update
Method · 0.80
Calls
1
Quaternion
Class · 0.85
Tested by
no test coverage detected