.. _math_api: .. py:currentmodule:: arcade Math ---- .. autofunction:: arcade.math.clamp .. autofunction:: arcade.math.lerp .. autofunction:: arcade.math.lerp_2d .. autofunction:: arcade.math.lerp_3d .. autofunction:: arcade.math.smerp .. autofunction:: arcade.math.smerp_2d .. autofunction:: arcade.math.smerp_3d .. autofunction:: arcade.math.lerp_angle .. autofunction:: arcade.math.rand_in_rect .. autofunction:: arcade.math.rand_in_circle .. autofunction:: arcade.math.rand_on_circle .. autofunction:: arcade.math.rand_on_line .. autofunction:: arcade.math.rand_angle_360_deg .. autofunction:: arcade.math.rand_angle_spread_deg .. autofunction:: arcade.math.rand_vec_spread_deg .. autofunction:: arcade.math.rand_vec_magnitude .. autofunction:: arcade.math.get_distance .. autofunction:: arcade.math.rotate_point .. autofunction:: arcade.math.rescale_relative_to_point .. autofunction:: arcade.math.rotate_around_point .. autofunction:: arcade.math.get_angle_degrees .. autofunction:: arcade.math.get_angle_radians .. autofunction:: arcade.math.quaternion_rotation