Ok, this is just funky
var pointVector:Vector.<Point> = Vector.<Point>([new Point(1)]);
var point:Point = pointVector[0];
point.x = 2;
trace(pointVector[0].x);
It outputs 2.
What the hell? Do points pass by reference or does this have something to do with the Vector class? If so, hwo do i get around this?