Return to previous page | Return to menu | Go to next page
SGL supports the following functions in addition to those described above as library functions related to matrix operations.
Copies the specified matrix as a parameter to the current matrix
.
For the parameter, substitute the MATRIX type variable of the specified matrix.
Copies the current matrix to the matrix specified as a parameter. For the parameter, substitute the MATRIX type variable of the specified matrix.
Multiplies the current matrix by the matrix specified as a parameter. For the parameter, substitute the MATRIX type variable of the specified matrix.
Reserves a unit matrix on the stack and makes it the current matrix.
The previous current matrix is temporarily saved at a higher level in the stack.
Makes the matrix specified as the parameter a unit matrix. For the parameter, substitute the MATRIX type variable of the specified matrix.
In addition, only when “CURRENT” is assigned to the parameter, the target matrix becomes the current matrix, and the current matrix can be initialized.
In this chapter, the functions in the following table were explained.