lookAtView

look at function with two points and an up vector, returns the view matrix (camera position and rotation matrix)

  1. auto lookAtView(vec3 eye, vec3 target, vec3 up)
    pure nothrow @nogc @safe
    lookAtView
    (,,
    vec3 up = vec3(0, 1, 0)
    )
  2. auto lookAtView(float ex, float ey, float ez, float tx, float ty, float tz, float ux, float uy, float uz)

Meta