struct Shale::Vertex

Defined in:

shale/vertex.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pos : Vector4(Float32), colour : Vector4(Float32), tex_coords : Vector4(Float32)) #

[View source]

Instance Method Detail

def colour : Vector4(Float32) #

[View source]
def perspec_divide : self #

[View source]
def tex_coords : Vector4(Float32) #

[View source]
def transform(m : Matrix4(Float32)) : self #

[View source]
def w : Float32 #

[View source]
def x : Float32 #

[View source]
def y : Float32 #

[View source]
def z : Float32 #

[View source]