You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yeah, that's tricky one. Not sure if it's better to manually detect all possible kinds of left-hand target or convert all arrays to Float32Array and use subarray+reduce, sort of ([1,1,0]).reduce((arr,v,i)=>(arr[i]=v,arr), mat3Arr.subarray(0,3))
Declaration
varying mat3 mat3one;
With value assignment
mat3one[0] = vec3(1., 1., 0.);
Transpiles to
mat3one.slice(0, 3) = [1., 1., 0.];
Which doesn't work.
With arrays of matrices
varying mat3 mat3Arr[15];
mat3Arr[4][0] = vec3(1., 1., 0.)
transpiles to
= [1, 1, 0]
The text was updated successfully, but these errors were encountered: