diff --git a/app/src/store/index.js b/app/src/store/index.js index dece342e..b235d443 100644 --- a/app/src/store/index.js +++ b/app/src/store/index.js @@ -252,12 +252,11 @@ const getStore = ({ user = null, experimentalFeatures = {} } = {}) => new Vuex.S output[13] = nm[1] output[14] = nm[2] - const { mat4 } = window.export_nehuba - mat4.transpose(output, output) + const transform = [0,1,2].map(r => [0,1,2,3].map(c => output[ c * 4 + r ])).reduce((acc, curr) => [...acc, ...curr], []).join(",") pluginUrl.searchParams.set( "transform", - [0,1,2].map(r => [0,1,2,3].map(c => output[ c * 4 + r ])).reduce((acc, curr) => [...acc, ...curr], []).join(",") + transform ) const pluginUrlString = pluginUrl.toString()