MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / rotateCameraAnimation

Method rotateCameraAnimation

testbed/src/SceneDemo.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void SceneDemo::rotateCameraAnimation() {
156
157 const float angle = 0.12f * (PI / 180.0);
158 mCamera.rotateAroundWorldPoint(Vector3(0, 1, 0), angle, mCenterScene);
159}
160
161// Update the physics world (take a simulation step)
162// Can be called several times per frame

Callers

nothing calls this directly

Calls 2

Vector3Class · 0.50

Tested by

no test coverage detected