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

Method zoom

testbed/src/Scene.cpp:148–152  ·  view source on GitHub ↗

Zoom the camera

Source from the content-addressed store, hash-verified

146
147// Zoom the camera
148void Scene::zoom(float zoomDiff) {
149
150 // Zoom the camera
151 mCamera.setZoom(zoomDiff);
152}
153
154// Translate the camera
155void Scene::translate(int xMouse, int yMouse) {

Callers

nothing calls this directly

Calls 1

setZoomMethod · 0.80

Tested by

no test coverage detected