struct VectorMath::Mat3

Overview

3D matrix [x0, x1, x2, y0, y1, y2, z0, z1, z2]

Defined in:

vector_math/matrices.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(x0 : Float64, x1 : Float64, x2 : Float64, y0 : Float64, y1 : Float64, y2 : Float64, z0 : Float64, z1 : Float64, z2 : Float64) #

[View source]
def self.new(values : Array(Float64)) #

[View source]

Class Method Detail

def self.unit #

[View source]

Instance Method Detail

def *(other : Mat3) #

[View source]
def +(other) #

[View source]
def -(other) #

[View source]
def x0 : Float64 #

[View source]
def x1 : Float64 #

[View source]
def x2 : Float64 #

[View source]
def y0 : Float64 #

[View source]
def y1 : Float64 #

[View source]
def y2 : Float64 #

[View source]
def z0 : Float64 #

[View source]
def z1 : Float64 #

[View source]
def z2 : Float64 #

[View source]