lookAtWorld

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

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

Meta