fn identity() Mat4
fn identity2(mut res f32)
returns *f32 without allocation
fn identity3() []f32
fn mult(a Mat4, b Mat4) Mat4
multiplicates two matrices
fn ortho(left f32, right f32, bottom f32, top f32) Mat4
fn ortho_zo(left f32, right f32, bottom f32, top f32, zNear f32, zFar f32) Mat4
fn rotate(angle f32, axis Vec3, src Mat4) Mat4
fn rotate_z(m Mat4, rad f32) Mat4
fn rotate_z(a *f32, rad f32) *f32 {
fn scale(m Mat4, v Vec3) Mat4
fn scale(a *f32, v Vec3) *f32 {
fn translate(m Mat4, v Vec3) Mat4
fn translate(vec Vec3) *f32 {
fn vec3(x f32, y f32, z f32) Vec3
fn (v Vec2) str() string
fn (v Vec3) str() string
struct Mat4 {
pub:
data &f32
}
fn (m Mat4) str() string