Nice Alex, I didn't know that rev handler existed! ;)
To avoid the precision problem, just keep the original coordinates unrotated. It's ok for scale or translations but not for rotations. Do the rotation on a copy of the original object and not the last rotated set. So you only get just one precision approximation. Im too am working on a vector graphic library! ;) get the short id of graph x get polyPointArray[polyid] -- x,y[,z,...] table, ndim array -- get move deltas and offsets from original, not last position... get MovePoly([moveOffsetXYZ] [,pointsArrayXYZ] get ScalePoly([ScaleXYZ] [,pointsArrayXYZ][,centerXYZ,] get SlantPoly([rotationXYZ] [,pointsArrayXYZ][,centerXYZ] get RotatePoly([rotationXYZ] [,pointsArrayXYZ][,centerXYZ] put it into graph x Precomputing helps for speed issues too... Hope that helps ;) Cheers Xavier -- http://monsieurx.com/runrev _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
