TRANSFORM NORMALS VECTOR3 This command will transform a normals vector.
Syntax
    TRANSFORM NORMALS VECTOR3 VectorResult, VectorSource, Matrix4Source
Parameters
    VectorResult
Integer vectorresult
    VectorSource
Integer vectorsource
    Matrix4Source
Integer matrix4source
Returns
This command does not return a value.
Description
This vector is defined as a three float vector.
Example Code
    r=MAKE VECTOR3(1)

    r=MAKE VECTOR3(2)

    r=MAKE MATRIX4(3)

    r=MAKE MATRIX4(4)

    r=MAKE MATRIX4(5)

    SET VECTOR3 1,0,0,0

    SET VECTOR3 2,0,0,0

    PROJECTION MATRIX4 3

    VIEW MATRIX4 4

    WORLD MATRIX4 5

    PROJECT VECTOR3 1,2,3,4,5

    TRANSFORM COORDS VECTOR3 1,2,5

    TRANSFORM NORMALS VECTOR3 1,2,5

    r=DELETE VECTOR3(1)

    r=DELETE VECTOR3(2)

    r=DELETE MATRIX4(3)

    r=DELETE MATRIX4(4)

    r=DELETE MATRIX4(5)
See also
3DMATHS Commands Menu Index