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
Origin and spacing can be stored in 64bits when bounds are stored in a Float32Array. This leaks to computational errors between vtk.js and user applications.
What should be done?
Please see toji/gl-matrix#192.
Should we add glMatrix.ARRAY_TYPE = Float64Array or should we modify vtkImageData to define matrices (such as indexToWorld) as a Float64Array instead of using mat4.create()?
The text was updated successfully, but these errors were encountered:
Origin
andspacing
can be stored in 64bits when bounds are stored in a Float32Array. This leaks to computational errors between vtk.js and user applications.What should be done?
Please see toji/gl-matrix#192.
Should we add
glMatrix.ARRAY_TYPE = Float64Array
or should we modifyvtkImageData
to define matrices (such asindexToWorld
) as aFloat64Array
instead of usingmat4.create()
?The text was updated successfully, but these errors were encountered: