ungerik / go3d

A performance oriented 2D/3D math package for Go
MIT License
303 stars 49 forks source link

Fixed bug in Invert mat3, added invert to mat2 #33

Closed chran554 closed 2 years ago

chran554 commented 2 years ago

Add PracticallyEquals (vec2 vec3 mat2 mat3 for both float32 float64) to compare if vectors and matrices are equal within a tolerance threshold. Add invert to mat2 (float32 float64). Unroll Mul function (mat3 float32 float64) Unroll Transpose (mat3 float32 float64) Unroll Adjugate (mat3 float32 float64) Fix bug in Invert function (mat3 float32 float64)