GeezerVison is showing github.com — Use `tinyobjloader` instead of `tinyobj`, since `tinyobj` was already… · CppWorks/tinyobjloader@f0fa42b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: python/README.md +5-5Lines changed: 5 additions & 5 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -# tinyobj, Wavefront .obj loader |
| 1 | +# tinyobjloader, Wavefront .obj loader |
2 | 2 |
|
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. |
5 | 5 |
|
6 | 6 | ## Quick tutorial |
7 | 7 |
|
8 | 8 | ```py |
9 | 9 | import sys |
10 | | -import tinyobj |
| 10 | +import tinyobjloader |
11 | 11 |
|
12 | 12 | # Create reader. |
13 | | -reader = tinyobj.ObjReader() |
| 13 | +reader = tinyobjloader.ObjReader() |
14 | 14 |
|
15 | 15 | filename = "cornellbox.obj" |
16 | 16 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: python/setup.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | long_description= fh.read() |
5 | 5 |
|
6 | 6 | # `tiny_obj_loader.cc` contains implementation of tiny_obj_loader. |
7 | | -m = setuptools.Extension('tinyobj', |
| 7 | +m = setuptools.Extension('tinyobjloader', |
8 | 8 | sources = ['bindings.cc', 'tiny_obj_loader.cc'], |
9 | 9 | extra_compile_args=['-std=c++11'], |
10 | 10 | include_dirs = ['../', '../pybind11/include'] |
11 | 11 | ) |
12 | 12 |
|
13 | 13 |
|
14 | | -setuptools.setup (name = 'tinyobj', |
| 14 | +setuptools.setup (name = 'tinyobjloader', |
15 | 15 | version = '0.1', |
16 | 16 | description = 'Python module for tinyobjloader', |
17 | 17 | long_description = long_description, |
|