Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ bevy_platform = { path = "../crates/bevy_platform", optional = true, default-fea
] }

# Other crates
glam = { version = "0.33.2", default-features = false, features = [
glam = { version = "0.34.2", default-features = false, features = [
"std",
"all-types",
"rand",
"rand-010",
"bytemuck",
] }
rand = "0.10"
Expand Down
12 changes: 7 additions & 5 deletions crates/bevy_math/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["bevy"]
rust-version = "1.94.0"

[dependencies]
glam = { version = "0.33.9", default-features = false, features = [
glam = { version = "0.34.2", default-features = false, features = [
"f64",
"i32",
"u32",
Expand Down Expand Up @@ -38,7 +38,9 @@ approx = "0.5"
rand = "0.10"
# Enable the approx feature when testing.
bevy_math = { path = ".", default-features = false, features = ["approx"] }
glam = { version = "0.33.9", default-features = false, features = ["approx"] }
glam = { version = "0.34.2", default-features = false, features = [
"approx-05",
] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.4", default-features = false, features = [
Expand All @@ -60,9 +62,9 @@ alloc = ["serde?/alloc", "rand?/alloc"]

serialize = ["dep:serde", "glam/serde"]
# Enable approx for glam types to approximate floating point equality comparisons and assertions
approx = ["dep:approx", "glam/approx"]
approx = ["dep:approx", "glam/approx-05"]
# Enable interoperation of glam types with mint-compatible libraries
mint = ["glam/mint"]
mint = ["glam/mint-05"]
# Enable libm mathematical functions for glam types to ensure consistent outputs
# across platforms at the cost of losing hardware-level optimization using intrinsics
libm = ["dep:libm", "glam/libm"]
Expand All @@ -71,7 +73,7 @@ glam_assert = ["glam/glam-assert"]
# Enable assertions in debug builds to check the validity of parameters passed to glam
debug_glam_assert = ["glam/debug-glam-assert"]
# Enable the rand dependency for shape_sampling
rand = ["dep:rand", "glam/rand"]
rand = ["dep:rand", "glam/rand-010"]
# Enable bevy_reflect (requires alloc)
bevy_reflect = ["dep:bevy_reflect", "alloc"]
# Enable libm mathematical functions as a fallback for no_std environments.
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_mesh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
derive_more = { version = "2", default-features = false, features = ["from"] }
half = { version = "2.4.1", features = ["bytemuck"] }
encase = "0.13"
glam = { version = "0.33.9", default-features = false, optional = true }
glam = { version = "0.34.2", default-features = false, optional = true }

[dev-dependencies]
approx = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_reflect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ derive_more = { version = "2", default-features = false, features = ["from"] }
serde = { version = "1", default-features = false, features = ["alloc"] }
assert_type_match = "0.1.1"
smallvec = { version = "1", default-features = false, optional = true }
glam = { version = "0.33.9", default-features = false, features = [
glam = { version = "0.34.2", default-features = false, features = [
"serde",
"float-types",
"integer-types",
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ downcast-rs = { version = "2", default-features = false, features = ["std"] }
thiserror = { version = "2", default-features = false }
derive_more = { version = "2", default-features = false, features = ["from"] }
encase = "0.13"
glam = { version = "0.33.9", default-features = false, features = [
glam = { version = "0.34.2", default-features = false, features = [
"std",
"encase-013",
] }
Expand Down
Loading