pub fn load_obj(input: &str) -> Result<Model, ObjError>
Expand description

Takes the content of an obj file and parses it.

Arguments

  • input - The content of the obj file as a string

Returns

Returns a Result of either ObjError on parse errors or a constructed Model.