A function defined in BBMOD_Matrix.gml

bbmod_matrix_build_normalmatrix(_m[, _dest[, _index]])


Creates a matrix using which you can safely transform normal vectors.


Name Type Description
_m Array A matrix to build the normal matrix from.
_dest Array An array to store the resulting matrix to. Defaults to a new array empty array.
_index Real An index to start writing the result at. Defaults to 0.


Array The destination array.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.