public static bool HasReached(this IMyMotorStator stator, float angle) { return(Math.Abs(stator.AngleProxy(angle)) < PRECISION || stator.HasReachedEnd()); }
public static bool HasReached(this IMyMotorStator stator, float angle) { return(Math.Abs(stator.AngleProxy(angle)) < PRECISION || stator.HasReachedEnd()); }