public static double SmoothDampAngle(double current, double target, ref double currentVelocity, double smoothTime) { double deltaTime = (double)Time.deltaTime; double maxSpeed = double.PositiveInfinity; return(Mathd.SmoothDampAngle(current, target, ref currentVelocity, smoothTime, maxSpeed, deltaTime)); }
public static float SmoothDampAngle(float current, float target, ref float currentVelocity, float smoothTime) { float deltaTime = (float)Time.deltaTime; float maxSpeed = float.PositiveInfinity; return(Mathd.SmoothDampAngle(current, target, ref currentVelocity, smoothTime, maxSpeed, deltaTime)); }