This PR optimizes some of the crates rendering logic.
The quaternion offset is calculated once, instead of once/render.
The block rotation quaternion is now calculated once/render instead of once/item.
calculateOffset now returns a Vec3 instead of using a static var, this should also be moved to a static method.
Additional files should have no notable changes, if you can remove them from here, feel free.
This PR optimizes some of the crates rendering logic. The quaternion offset is calculated once, instead of once/render. The block rotation quaternion is now calculated once/render instead of once/item. calculateOffset now returns a Vec3 instead of using a static var, this should also be moved to a static method. Additional files should have no notable changes, if you can remove them from here, feel free.