class Game::Matrix
- Game::Matrix
- Reference
- Object
Defined in:
game/matrix.crConstructors
Class Method Summary
Instance Method Summary
- #==(m : Matrix)
- #add(m : Matrix) : Matrix
- #dot(v : Int32 | Float32) : Matrix
- #dot(m : Matrix)
- #dot(v : Vector4) : Vector4
- #identity?
- #m0 : Int32 | Float32
- #m0=(m0 : Int32 | Float32)
- #m1 : Int32 | Float32
- #m10 : Int32 | Float32
- #m10=(m10 : Int32 | Float32)
- #m11 : Int32 | Float32
- #m11=(m11 : Int32 | Float32)
- #m12 : Int32 | Float32
- #m12=(m12 : Int32 | Float32)
- #m13 : Int32 | Float32
- #m13=(m13 : Int32 | Float32)
- #m14 : Int32 | Float32
- #m14=(m14 : Int32 | Float32)
- #m15 : Int32 | Float32
- #m15=(m15 : Int32 | Float32)
- #m1=(m1 : Int32 | Float32)
- #m2 : Int32 | Float32
- #m2=(m2 : Int32 | Float32)
- #m3 : Int32 | Float32
- #m3=(m3 : Int32 | Float32)
- #m4 : Int32 | Float32
- #m4=(m4 : Int32 | Float32)
- #m5 : Int32 | Float32
- #m5=(m5 : Int32 | Float32)
- #m6 : Int32 | Float32
- #m6=(m6 : Int32 | Float32)
- #m7 : Int32 | Float32
- #m7=(m7 : Int32 | Float32)
- #m8 : Int32 | Float32
- #m8=(m8 : Int32 | Float32)
- #m9 : Int32 | Float32
- #m9=(m9 : Int32 | Float32)
- #subtract(m : Matrix) : Matrix
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #to_struct
Constructor Detail
def self.new(m0 : Float32 | Int32 = 1, m4 : Float32 | Int32 = 0, m8 : Float32 | Int32 = 0, m12 : Float32 | Int32 = 0, m1 : Float32 | Int32 = 0, m5 : Float32 | Int32 = 1, m9 : Float32 | Int32 = 0, m13 : Float32 | Int32 = 0, m2 : Float32 | Int32 = 0, m6 : Float32 | Int32 = 0, m10 : Float32 | Int32 = 1, m14 : Float32 | Int32 = 0, m3 : Float32 | Int32 = 0, m7 : Float32 | Int32 = 0, m11 : Float32 | Int32 = 0, m15 : Float32 | Int32 = 1)
#
Class Method Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>