class Prism::OBJ::Vertex

Defined in:

prism/model/obj/vertex.cr

Constant Summary

NO_INDEX = -1

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, position : Vector3f) #

[View source]

Instance Method Detail

def duplicate_vertex : Prism::OBJ::Vertex? #

[View source]
def duplicate_vertex=(duplicate_vertex : Nil | Prism::OBJ::Vertex) #

[View source]
def has_same_texture_and_normal?(texture_index : Int32, normal_index : Int32) #

[View source]
def index : Int32 #

[View source]
def is_set? #

[View source]
def length : Float32 #

[View source]
def normal_index : Int32 #

[View source]
def normal_index=(normal_index : Int32) #

[View source]
def position : Prism::Maths::Vector3f #

[View source]
def texture_index : Int32 #

[View source]
def texture_index=(texture_index : Int32) #

[View source]