Skip to content

Commit 0e329e6

Browse files
authored
Merge pull request tinyobjloader#224 from flostellbrink/conan-doc
Document conan package
2 parents d47e854 + 116bbea commit 0e329e6

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
[![Coverage Status](https://coveralls.io/repos/github/syoyo/tinyobjloader/badge.svg?branch=master)](https://coveralls.io/github/syoyo/tinyobjloader?branch=master)
1212

13+
[![Download](https://api.bintray.com/packages/conan/conan-center/tinyobjloader%3A_/images/download.svg)](https://bintray.com/conan/conan-center/tinyobjloader%3A_/_latestVersion)
14+
1315
[https://github.com/syoyo/tinyobjloader](https://github.com/syoyo/tinyobjloader)
1416

1517
Tiny but powerful single file wavefront obj loader written in C++03. No dependency except for C++ STL. It can parse over 10M polygons with moderate memory and time.
@@ -30,13 +32,13 @@ Old version is available as `v0.9.x` branch https://github.com/syoyo/tinyobjload
3032
* 14 Apr, 2019 : Bump version v2.0.0 rc0. New C++ API and python bindings!(1.x API still exists for backward compatibility)
3133
* 20 Aug, 2016 : Bump version v1.0.0. New data structure and API!
3234

33-
## Requirents
35+
## Requirements
3436

3537
* C++03 compiler
3638

3739
### Old version
3840

39-
Previous old version is avaiable in `v0.9.x` branch.
41+
Previous old version is available in `v0.9.x` branch.
4042

4143
## Example
4244

@@ -132,12 +134,18 @@ TinyObjLoader is successfully used in ...
132134

133135
TinyObjLoader is licensed under MIT license.
134136

135-
### Third party licences.
137+
### Third party licenses.
136138

137139
* pybind11 : BSD-style license.
138140

139141
## Usage
140142

143+
### Installation
144+
145+
One option is to simply copy the header file into your project and to make sure that `TINYOBJLOADER_IMPLEMENTATION` is defined exactly once.
146+
147+
Tinyobjlaoder is also available as a [conan package](https://bintray.com/conan/conan-center/tinyobjloader%3A_/_latestVersion). Conan integrates with many build systems and lets you avoid manual dependency installation. Their [documentation](https://docs.conan.io/en/latest/getting_started.html) is a great starting point.
148+
141149
### Data format
142150

143151
`attrib_t` contains single and linear array of vertex data(position, normal and texcoord).

0 commit comments

Comments
 (0)