class Models::Shape

Defined in:

models.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def faces : Array(Face) #

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

[View source]
def material : Material | Nil #

[View source]
def material=(material : Material | Nil) #

[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]