That's awesome

This commit is contained in:
jordan4ibanez 2023-11-26 09:53:47 -05:00
parent 9f93cf312f
commit ad5e8998dd
1 changed files with 7 additions and 1 deletions

View File

@ -91,7 +91,13 @@ bool parseNode(json data, SMeshBuffer* meshBuffer) {
auto scale = irr::core::vector3df{1,1,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;
}