Pyrr Maths Library¶
Pyrr is a Python mathematical library.
Overview¶
Object Oriented API¶
Procedural API¶
- Axis Aligned Bounding Box
- Euler
- Geometric Tests
point_closest_point_on_line()point_closest_point_on_line_segment()point_closest_point_on_plane()point_closest_point_on_ray()point_height_above_plane()point_intersect_line()point_intersect_line_segment()point_intersect_rectangle()ray_coincident_ray()ray_intersect_aabb()ray_intersect_plane()ray_intersect_sphere()ray_parallel_ray()sphere_does_intersect_sphere()sphere_penetration_sphere()vector_parallel_vector()
- Geometry
- Integer
- Line
- Matrix functions
- Plane
- Quaternion
apply_to_vector()conjugate()create()create_from_axis()create_from_axis_rotation()create_from_eulers()create_from_inverse_of_eulers()create_from_matrix()create_from_x_rotation()create_from_y_rotation()create_from_z_rotation()cross()dot()exp()indexinverse()is_identity()is_non_zero_length()is_zero_length()length()lerp()negate()normalise()normalize()power()rotation_angle()rotation_axis()slerp()squared_length()
- Ray
- Rectangle
- Sphere
- Trigonometry
- Utilities
- Vector functions