Merge pull request #34 from Ybalrid/patch-1

Add language tags on code snippets in README
This commit is contained in:
Syoyo Fujita 2018-01-10 20:52:24 +09:00 committed by GitHub
commit 688236a3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ Copy `stb_image.h`, `json.hpp` and `tiny_gltf.h` to your project.
### Loading glTF 2.0 model
```
```c++
// Define these only in *one* .cc file.
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
@ -118,11 +118,13 @@ Git clone https://github.com/KhronosGroup/glTF-Sample-Models to your local dir.
After building `loader_example`, edit `test_runner.py`, then,
$ python test_runner.py
```bash
$ python test_runner.py
```
### Unit tests
```
```bash
$ cd tests
$ make
$ ./tester