hughsk / hughsk/basic-camera

lookAt(eye, center, up)

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

voxel-mipmap-demo calls lookAt(eye,center,up) on the camera to orient it towards the model. basic-camera doesn't currently implement this, so I just stubbed it out in game-shell-fps-camera.

orbit-camera lookAt for reference: https://github.com/mikolalysenko/orbit-camera/blob/master/orbit.js#L85

gl-matrix mat4.lookAt: http://glmatrix.net/docs/2.2.0/symbols/mat4.html#.lookAt

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.