public void SetMagnitude(float value) { DEVector2 dir = Normalized; dir *= value; x = dir.x; y = dir.y; }
public DEGrid() { right = new DEVector2(1, 0); scale = new DEVector2(1, 1); }