struct Models::Vertex

Defined in:

models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(coord : Vec3, texcoord : Vec3 | Nil, normal : Vec3 | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def coord : Vec3 #

def copy_with(coord _coord = @coord, texcoord _texcoord = @texcoord, normal _normal = @normal) #

[View source]
def normal : Vec3 | Nil #

def texcoord : Vec3 | Nil #