Instancing treats *ac and *gltf differently
I was testing gltf files for instancing, and I noticed that ac and gltf axes are treated slightly different (for both position and rotation).
For instance, both these objects are referring to the same object_instances.txt, so ideally they should render exactly at the same spot with the same rotation:
OBJECT_INSTANCED Models/Commercial/tower-glass-dark-blue.ac object_instances.txt default -129.00842825 -9.00796917 -0.3614 0.0 0.0 -0.0
OBJECT_INSTANCED Models/Commercial/gltf/tower-glass-dark-blue.gltf object_instances.txt default -129.00842825 -9.00796917 -0.3614 0.0 0.0 -0.0
# object_instances.txt
0 150 0 45 0 0
...results in:
I noticed that this does not happen with OBJECT_SHARED:
OBJECT_SHARED Models/Commercial/tower-glass-dark-blue.ac -129.00834627 -9.00726416 -0.3493 0.0 0.0 45.0
OBJECT_SHARED Models/Commercial/gltf/tower-glass-dark-blue.gltf -129.00842825 -9.00796917 -0.3614 0.0 0.0 45.0
I am guessing that this is happening because axes are somehow different between ac and gltf, so the same transformation in the shader results in different results. The "easy" fix is to swap the axes for rotation/position etc depending on whether we are loading a gltf or an ac file, but I wanted to ask if there is a better or more principled way.
