GsGetLwsCalculates both local-to-world and local-to-screen transformation matrices | |||||||
Arguments
Return ValueNone.ExplanationThe local-to-world and the local-to-screen transformation matrices for the coordinate system pointed to by coord2 are calculated and the results are stored in the matrices pointed to by lw and ls , respectively.The local-to-world matrix must be specified when light source calculation is performed. GsGetLws() is a fast method for obtaining this matrix. GsGetLws() is equivalent to calling GsGetLw() followed by GsGetLs(), only with faster performance. See AlsoGsGetLs(), GsGetLws(), GsCOORDINATE2, MATRIX |