crow/math/mat.crow (source)
mat3-32 record
3x3 matrix of float32
mat3-64 record
3x3 matrix of float64
show string(a mat3-32)
show string(a mat3-64)
new mat3-32()
0 matrix.
new mat3-64()
I mat3-32() bare
Identity matrix.
I mat3-64() bare
to float32 array(a mat3-32)
to float64 array(a mat3-64)
col0 vec3-32(a mat3-32) bare
col0 vec3-64(a mat3-64) bare
col1 vec3-32(a mat3-32) bare
col1 vec3-64(a mat3-64) bare
col2 vec3-32(a mat3-32) bare
col2 vec3-64(a mat3-64) bare
+ mat3-32(a mat3-32, b mat3-32) bare
+ mat3-64(a mat3-64, b mat3-64) bare
* mat3-32(a mat3-32, b float32) bare
* mat3-64(a mat3-64, b float64) bare
* mat3-32(a float32, b mat3-32) bare
* mat3-64(a float64, b mat3-64) bare
* mat3-32(a mat3-32, b mat3-32) bare
* mat3-64(a mat3-64, b mat3-64) bare
* vec3-32(a mat3-32, b vec3-32) bare
* vec3-64(a mat3-64, b vec3-64) bare
rotation mat3-32(axis vec3-32, theta float32)
Matrix for rotating vectors around 'axis' by 'theta' radians