Properly handle cube face rotations
Hi again, I was using some programmatically generated models, but the face rotations on the cubes are ignored.
The issue is with the CubeBlueprint class, right here
Anyways, it can be fixed by simply changing the line from
map.put("rotation", 0);
to
map.put("rotation", (Double)map.get("rotation"));
prior to fix:
after fix:
Anyways, Thank you for making this project, its pretty great.
Oh tiny addition to that fix, I just remembered you should probably check if the key exists and is valid before throwing it in the output
Oh hey. Is that what that was? I was wondering why I was getting that bug.
I'll definitely pull it in, thanks for contributing.