(camera)
| 865 | // getCameraArrays :: plotly_coords -> gl-plot3d_coords |
| 866 | // inverse of getLayoutCamera |
| 867 | function getCameraArrays(camera) { |
| 868 | return [ |
| 869 | [camera.eye.x, camera.eye.y, camera.eye.z], |
| 870 | [camera.center.x, camera.center.y, camera.center.z], |
| 871 | [camera.up.x, camera.up.y, camera.up.z] |
| 872 | ]; |
| 873 | } |
| 874 | |
| 875 | // getLayoutCamera :: gl-plot3d_coords -> plotly_coords |
| 876 | // inverse of getCameraArrays |
no outgoing calls
no test coverage detected
searching dependent graphs…