WebGL - Intro to 3d

In this episode, I introduce 3d in WebGL. We start by using the lookAt function.
  • lookAt -
// out, eye, center, up // out = output matrix // eye = position of the "camera", or eyes, while "looking at" the center // center = the focal point, where we're looking // up = the "vertical" up direction from the center
  • https://github.com/davidwparker/programmingtil-webgl/tree/master/0053-intro-3d-lookat
© programmingtil.com