@kognifai/cogsengine
    Preparing search index...

    Function targetTo

    • Generates a matrix that makes something look at something else.

      Parameters

      • out: mat4

        mat4 frustum matrix will be written into

      • eye: ReadonlyVec3

        Position of the viewer

      • target: any
      • up: ReadonlyVec3

        vec3 pointing up

      Returns mat4

      out