mousePos.x = newX + ((chairCentreOfMass.x) / GLOBAL.jBullet.scale);
mousePos.y = newY + ((chairCentreOfMass.y) / GLOBAL.jBullet.scale);
//mousePos.z = centreMouseDeltaZ + chairCentreOfMass.Z;
}
Vec2D intersect2D = null;
if (mousePos != null) {
intersect2D = new Vec2D(mousePos.x, mousePos.y);
//intersect2D = new Vec2D(mousePoint.x, mousePoint.y);
} else {
intersect2D = new Vec2D(mousePoint.x, mousePoint.y);
}
if (intersect2D == null)
intersect2D = new Vec2D(mousePoint.x, mousePoint.y);
return intersect2D;
}