File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # tinyobj , Wavefront .obj loader
1+ # tinyobjloader , Wavefront .obj loader
22
3- tinyobj is a python wrapper for C++ wavefront .obj loader.
4- tinyobj is rather fast and feature rich than other pure python version of .obj loader.
3+ ` tinyobjloader ` is a python wrapper for C++ wavefront .obj loader.
4+ ` tinyobjloader ` is rather fast and feature rich than other pure python version of .obj loader.
55
66## Quick tutorial
77
88``` py
99import sys
10- import tinyobj
10+ import tinyobjloader
1111
1212# Create reader.
13- reader = tinyobj .ObjReader()
13+ reader = tinyobjloader .ObjReader()
1414
1515filename = " cornellbox.obj"
1616
Original file line number Diff line number Diff line change 44 long_description = fh .read ()
55
66# `tiny_obj_loader.cc` contains implementation of tiny_obj_loader.
7- m = setuptools .Extension ('tinyobj ' ,
7+ m = setuptools .Extension ('tinyobjloader ' ,
88 sources = ['bindings.cc' , 'tiny_obj_loader.cc' ],
99 extra_compile_args = ['-std=c++11' ],
1010 include_dirs = ['../' , '../pybind11/include' ]
1111 )
1212
1313
14- setuptools .setup (name = 'tinyobj ' ,
14+ setuptools .setup (name = 'tinyobjloader ' ,
1515 version = '0.1' ,
1616 description = 'Python module for tinyobjloader' ,
1717 long_description = long_description ,
You can’t perform that action at this time.
0 commit comments