Re: [math] 3D rotation and arrays

2011-11-10 Thread Luc Maisonobe
Le 10/11/2011 19:58, Jan Kotek a écrit : > Hi, Hi Jan, > > I am working on an astronomical image library which stitches spherical > images together. > Basically it involves lot of 3D vector rotation and other transforms. > > I can not afford to create new Vector3D instance for each pixel, as it

[math] 3D rotation and arrays

2011-11-10 Thread Jan Kotek
Hi, I am working on an astronomical image library which stitches spherical images together. Basically it involves lot of 3D vector rotation and other transforms. I can not afford to create new Vector3D instance for each pixel, as it severely degrades performance. So I am reusing double[3] arrays