mirror of https://github.com/minetest/irrlicht.git
That's awesome
This commit is contained in:
parent
9f93cf312f
commit
ad5e8998dd
|
@ -91,7 +91,13 @@ bool parseNode(json data, SMeshBuffer* meshBuffer) {
|
||||||
auto scale = irr::core::vector3df{1,1,1};
|
auto scale = irr::core::vector3df{1,1,1};
|
||||||
auto rotation = irr::core::quaternion{0,0,0,1};
|
auto rotation = irr::core::quaternion{0,0,0,1};
|
||||||
|
|
||||||
//!FIXME: These should really be functions.
|
if (grabVec3f(data, "position", position)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (grabVec3f(data, "scale", scale)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue