#bevy #math #polygon

no-std bevy_math

Provides math functionality for Bevy Engine

44 releases

Uses new Rust 2024

0.16.0 Apr 24, 2025
0.16.0-rc.3 Mar 31, 2025
0.15.0 Nov 29, 2024
0.14.0 Jul 4, 2024
0.3.0 Nov 3, 2020

#169 in Algorithms

Download history 29459/week @ 2025-01-12 24731/week @ 2025-01-19 16533/week @ 2025-01-26 28971/week @ 2025-02-02 27045/week @ 2025-02-09 18590/week @ 2025-02-16 28595/week @ 2025-02-23 20612/week @ 2025-03-02 25573/week @ 2025-03-09 26918/week @ 2025-03-16 26779/week @ 2025-03-23 18771/week @ 2025-03-30 23718/week @ 2025-04-06 22294/week @ 2025-04-13 31176/week @ 2025-04-20 34621/week @ 2025-04-27

114,644 downloads per month
Used in 1,481 crates (116 directly)

MIT/Apache

1MB
21K SLoC

Provides math types and functionality for the Bevy game engine.

The commonly used types are vectors like Vec2 and Vec3, matrices like Mat2, Mat3 and Mat4 and orientation representations like Quat.


Bevy Math

License Crates.io Downloads Docs Discord

Dependencies

~6–14MB
~224K SLoC