isEqualTo

<matrix3d>:isEqualTo(mat) --> bool

Verifica se la matrice รจ uguale a quella passata.

Esempio. Esempio isEqualTo()

local mat = Matrix3d({2,0,0,0,  0,2,0,0,  0,0,2,0,  0,0,0,1})
local m1 = Matrix3d({2,0,0,0,  0,2,0,0,  0,0,2,0,  0,0,0,1})
local m2 = Matrix3d({3,0,0,0,  0,3,0,0,  0,0,3,0,  0,0,0,1})
local res = mat:isEqualTo(m1) --> true
local res = mat:isEqualTo(m2) --> false