Converts an Offset to a vmath.Vector2.
vmath.Vector2
static vmath.Vector2 offsetToVector(Offset offset) { return vmath.Vector2(offset.dx, offset.dy); }