Cargo Features
bevy_math has no features set by default.
[dependencies]
bevy_math = { version = "0.13.2", features = ["serialize", "approx", "mint", "libm", "glam_assert", "debug_glam_assert"] }
- serialize
-
Enables serde, serde of glam ^0.25
- approx
-
Enable approx for glam types to approximate floating point equality comparisons and assertions
Enables approx, approx of glam ^0.25
- mint
-
Enable interoperation of glam types with mint-compatible libraries
Enables mint of glam ^0.25
- libm
-
Enable libm mathematical functions for glam types to ensure consistent outputs across platforms at the cost of losing hardware-level optimization using intrinsics
Enables libm of glam ^0.25
- glam_assert
-
Enable assertions to check the validity of parameters passed to glam
Enables glam-assert of glam ^0.25
- debug_glam_assert
-
Enable assertions in debug builds to check the validity of parameters passed to glam
Enables debug-glam-assert of glam ^0.25