BUILD LOOKAT RHMATRIX4 This command builds a LOOKAT right handed Matrix.
Syntax
    BUILD LOOKAT RHMATRIX4 Matrix4Result, Vector3Eye, Vector3At, Vector3Up
Parameters
    Matrix4Result
Integer matrix4result
    Vector3Eye
Integer vector3eye
    Vector3At
Integer vector3at
    Vector3Up
Integer vector3up
Returns
This command does not return a value.
Example Code
    r=MAKE MATRIX4(1)

    r=MAKE VECTOR3(2)

    r=MAKE VECTOR3(3)

    r=MAKE VECTOR3(4)

    SET VECTOR3 2,1,0,0

    SET VECTOR3 3,0,0,1

    SET VECTOR3 4,0,1,0

    BUILD LOOKAT LHMATRIX4 1,2,3,4

    BUILD LOOKAT RHMATRIX4 1,2,3,4

    BUILD ROTATION AXIS MATRIX4 1,2,45.0

    BUILD FOV LHMATRIX4 1,90,1,0,3000

    BUILD FOV RHMATRIX4 1,90,1,0,3000

    BUILD ORTHO LHMATRIX4 1,640,480,0,3000

    BUILD ORTHO RHMATRIX4 1,640,480,0,3000

    BUILD PERSPECTIVE LHMATRIX4 1,640,480,0,3000

    BUILD PERSPECTIVE RHMATRIX4 1,640,480,0,3000

    BUILD REFLECTION MATRIX4 1,0,1,0,500

    r=DELETE MATRIX4(1)

    r=DELETE VECTOR3(2)

    r=DELETE VECTOR3(3)

    r=DELETE VECTOR3(4)
See also
3DMATHS Commands Menu Index