1.0.1 • Published 8 years ago

gl-camera-pos-from-view-matrix v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

gl-camera-pos-from-view-matrix

A helper module that allows you to extract the camera position from a view-matrix.

NPM

Usage

function getCameraPosFromViewMatrix(out, viewMatrix)

The camera position of the camera with the view matrix viewMatrix is output to out as a gl-vec3. Note that the same vector is also returned by the function.