Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/BakingLab
/ SetYRotation
Method
SetYRotation
SampleFramework11/v1.02/Graphics/Camera.cpp:239–243 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
237
}
238
239
void FirstPersonCamera::SetYRotation(float yRotation)
240
{
241
yRot = XMScalarModAngle(yRotation);
242
SetOrientation(XMQuaternionRotationRollPitchYaw(xRot, yRot, 0));
243
}
244
245
}
Callers
1
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected