class Models::Shape

Defined in:

models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, faces : Array(Array(Models::Vertex)), material : String, subshapes : Array(Models::Shape)) #

[View source]

Instance Method Detail

def faces : Array(Face) #

[View source]
def faces=(faces : Array(Face)) #

[View source]
def material : String #

[View source]
def material=(material : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def subshapes : Array(Shape) #

[View source]
def subshapes=(subshapes : Array(Shape)) #

[View source]