protected void declareVectors ( int width , int height ) { this . outWidth = width ; if ( vectors . length < width * height ) { Point3D_F64 [ ] tmp = new Point3D_F64 [ width * height ] ; System . arraycopy ( vectors , 0 , tmp , 0 , vectors . length ) ; for ( int i = vectors . length ; i < tmp . length ; i ++ ) { tmp [ i ] = new Point3D_F64 ( ) ; } vectors = tmp ; } }
Declares storage for precomputed pointing vectors to output image