mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-08 11:13:50 +00:00
Update README. Add note on tinygltf::Value for extensions.
This commit is contained in:
@@ -301,7 +301,9 @@ TEST_CASE("pbr-khr-texture-transform", "[material]") {
|
||||
REQUIRE(texform.count("scale"));
|
||||
|
||||
REQUIRE(texform["scale"].IsArray());
|
||||
std::cout << "ty " << int(texform["scale"].Get(0).Type()) << "\n";
|
||||
|
||||
// It looks json.hpp parse integer JSON number as integer, not floating point.
|
||||
// so we'll check if Value is number(floating point) or integer value.
|
||||
REQUIRE(texform["scale"].Get(0).IsNumberOrInt());
|
||||
REQUIRE(texform["scale"].Get(1).IsNumberOrInt());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user