class

OBJ::OBJParser

Inherits OBJ::ParserBase < Reference < Object

Constructors

new(io : IO, filename : String, triangulate : Bool = false, load_materials : Bool = true)
Source

Instance methods

current_mtl
Source
debug!(io : IO)
Source
faces
Source
faces=(faces : Array(Array(Models::Vertex)))
Source
groups
Source
groups=(groups : Array(Models::Shape))
Source
materials
Source
materials=(materials : Hash(String, Models::Material))
Source
mtllibs
Source
mtllibs=(mtllibs : Array(String))
Source
objects
Source
objects=(objects : Hash(String, Models::Shape))
Source
vertices
Source
vertices=(v : Array(CrystalEdge::Vector3))
Source

Nested types