Add language tag on code snippets in README

This commit is contained in:
Arthur Brainville 2018-01-10 12:04:51 +01:00 committed by GitHub
parent e3a7aef197
commit d93364e63f
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,
```bash
$ python test_runner.py
```
### Unit tests
```
```bash
$ cd tests
$ make
$ ./tester