ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: setCameraPos

setCameraPos(v) sets the camera position to v ∈ R^3 in the current 3D visualization window.

setCameraPos(v, d) sets the camera position to v ∈ R^3 in the current 3D visualization window. The camera is looking in the d ∈ R^3 direction.

setCameraPos(v, d, u) sets the camera position to v ∈ R^3 in the current 3D visualization window. The camera is looking in the d ∈ R^3 direction, and u ∈ R^3 is the vertical (up) direction.