npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

gl-camera-pos-from-view-matrix

1.0.1 • Public • Published

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.

install

npm i gl-camera-pos-from-view-matrix

Downloadsweekly downloads

3

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability