class OBJ::OBJParser
- OBJ::OBJParser
- OBJ::ParserBase
- Reference
- Object
Defined in:
obj/parser.crConstructors
Instance Method Summary
- #current_mtl
- #debug!(io : IO)
- #faces : Array(Array(Models::Vertex))
- #faces=(faces : Array(Array(Models::Vertex)))
- #groups : Array(Models::Shape)
- #groups=(groups : Array(Models::Shape))
- #materials : Hash(String, Models::Material)
- #materials=(materials : Hash(String, Models::Material))
- #mtllibs : Array(String)
- #mtllibs=(mtllibs : Array(String))
- #objects : Hash(String, Models::Shape)
- #objects=(objects : Hash(String, Models::Shape))
- #vertices : Array(CrystalEdge::Vector3)
- #vertices=(v : Array(CrystalEdge::Vector3))
Instance methods inherited from class OBJ::ParserBase
on(tag : String | Symbol, &proc : String, String -> )on(r : Regex, &proc : String, String -> ) on, on_warning(&proc : String -> ) on_warning, parse! parse!, warn(s) warn
Constructor Detail
def self.new(io : IO, filename : String, triangulate : Bool = false, load_materials : Bool = true)
#