Documentation ¶
Index ¶
- func ColorString(color color.Color) string
- func Load(objPath string) (*modeling.Mesh, error)
- func ReadMaterials(in io.Reader) ([]modeling.Material, error)
- func ReadMesh(in io.Reader) (*modeling.Mesh, []string, error)
- func Save(objPath string, meshToSave modeling.Mesh) error
- func WriteMaterial(mat modeling.Material, out io.Writer) error
- func WriteMaterials(m modeling.Mesh, out io.Writer) error
- func WriteMesh(m modeling.Mesh, materialFile string, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorString ¶
func Load ¶
Load reads an obj file from the path specified, and optionally loads all associated metadata files the obj file might reference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.