MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / MouseScrollUpdate

Method MouseScrollUpdate

Rtxpt/Sample.cpp:753–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753bool Sample::MouseScrollUpdate(double xoffset, double yoffset)
754{
755 if (!(m_sampleGame && m_sampleGame->CameraActive()))
756 {
757 //m_camera.MouseScrollUpdate(xoffset, yoffset);
758 m_ui.CameraMoveSpeed *= 1.0f + yoffset*0.1f;
759 }
760 return true;
761}
762
763void Sample::Animate(float fElapsedTimeSeconds)
764{

Callers

nothing calls this directly

Calls 1

CameraActiveMethod · 0.80

Tested by

no test coverage detected