Exemplo n.º 1
0
 private void EnforceBounds()
 {
     CodingHelper.ForceIntoBounds(ref realProps.Target.X, Bounds.PlaneBounds.MinX, Bounds.PlaneBounds.MaxX);
     CodingHelper.ForceIntoBounds(ref realProps.Target.Y, Bounds.PlaneBounds.MinY, Bounds.PlaneBounds.MaxY);
     CodingHelper.ForceIntoBounds(ref realProps.Distance, Bounds.MinDistance, Bounds.MaxDistance);
 }