bbmod_matrix_build_normalmatrix

A function defined in BBMOD_Matrix.gml

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

Description

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

Arguments

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.

Returns

Array The destination array.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.