public Vector3d Snapped(Vector3d by) { return(new Vector3d ( Mathd.Stepify(x, by.x), Mathd.Stepify(y, by.y), Mathd.Stepify(z, by.z) )); }
public Vector2d Snapped(Vector2d by) { return(new Vector2d(Mathd.Stepify(x, by.x), Mathd.Stepify(y, by.y))); }