BUILD PERSPECTIVE RHMATRIX4 This command builds a Perspective right handed Matrix.
Syntax
    BUILD PERSPECTIVE RHMATRIX4 Matrix4Result, Width, Height, Near, Far
Parameters
    Matrix4Result
Integer matrix4result
    Width
Float width
    Height
Float height
    Near
Float near
    Far
Float far
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