Vertex Viewer SDK
    Preparing search index...

    Function makeLookAt

    • Matrix becomes a combination of translation and rotation.

      Matrix becomes a combination of a translation to the position of 'eye' and a rotation matrix which orients an object to point towards 'center' along its z-axis. Use this function if you want an object to look at a point from another point in space.

      Parameters

      Returns Matrix4.Matrix4

      A matrix.