From ca80a591e0b79b6f122f04c77752984b55261c98 Mon Sep 17 00:00:00 2001 From: johan bowald Date: Sun, 1 Apr 2018 22:53:45 +0200 Subject: [PATCH] updated readme: fixed example, fixed dead links to stb_image/stb_image_write --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ca39b9..23ca124 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,8 @@ TinyGLTF uses the following third party libraries. * json.hpp : Copyright (c) 2013-2017 Niels Lohmann. MIT license. * base64 : Copyright (C) 2004-2008 René Nyffenegger -* stb_image.h : v2.08 - public domain image loader - http://nothings.org/stb_image.h -* stb_image_write.h : v1.09 - public domain image writer - http://nothings.org/stb_image_write.h +* stb_image.h : v2.08 - public domain image loader - [Github link](https://github.com/nothings/stb/blob/master/stb_image.h) +* stb_image_write.h : v1.09 - public domain image writer - [Github link](https://github.com/nothings/stb/blob/master/stb_image_write.h) ## Build and example @@ -86,6 +86,7 @@ Copy `stb_image.h`, `stb_image_write.h`, `json.hpp` and `tiny_gltf.h` to your pr // Define these only in *one* .cc file. #define TINYGLTF_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION +#define STB_IMAGE_WRITE_IMPLEMENTATION // #define TINYGLTF_NOEXCEPTION // optional. disable exception handling. #include "tiny_gltf.h"