Skip to content

Commit

Permalink
Update to bevy 0.14.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jgayfer committed Jun 17, 2024
1 parent 0f4bb94 commit 241ecd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ readme = "README.md"
exclude = ["assets/*", "static/*"]

[dependencies]
bevy = { version = "0.14.0-rc.2", default-features = false, features = [
bevy = { version = "0.14.0-rc.3", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit"
] }
smallvec = "1.13"

[dev-dependencies]
bevy = { version = "0.14.0-rc.2", default-features = false, features = [
bevy = { version = "0.14.0-rc.3", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit",
Expand Down
4 changes: 2 additions & 2 deletions src/render/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn extract_point_lights(
continue;
}
commands.get_or_spawn(entity).insert(ExtractedPointLight2d {
color: point_light.color.linear(),
color: point_light.color.to_linear(),
transform: global_transform.translation().xy(),
radius: point_light.radius,
intensity: point_light.intensity,
Expand All @@ -46,7 +46,7 @@ pub fn extract_ambient_lights(
commands
.get_or_spawn(entity)
.insert(ExtractedAmbientLight2d {
color: ambient_light.color.linear() * ambient_light.brightness,
color: ambient_light.color.to_linear() * ambient_light.brightness,
});
}

Expand Down

0 comments on commit 241ecd2

Please sign in to comment.