- Point center((minp.x+maxp.x)/2, (minp.y+maxp.y)/2, 0);
- return Point(pos.x+c*center.x-s*center.y, pos.y+s*center.x+c*center.y, pos.z+0.02);
+ Vector center((minp.x+maxp.x)/2, (minp.y+maxp.y)/2, 0);
+ return Vector(pos.x+c*center.x-s*center.y, pos.y+s*center.x+c*center.y, pos.z+0.02);