Skip to content

Commit

Permalink
Use scaling_mode solely (scale has been removed)
Browse files Browse the repository at this point in the history
  • Loading branch information
richchurcher committed Sep 7, 2024
1 parent 92a61b3 commit 4370a27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/math/custom_primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const TRANSFORM_2D: Transform = Transform {
const PROJECTION_2D: Projection = Projection::Orthographic(OrthographicProjection {
near: -1.0,
far: 10.0,
scale: 1.0,
viewport_origin: Vec2::new(0.5, 0.5),
scaling_mode: ScalingMode::AutoMax {
max_width: 8.0,
Expand Down

0 comments on commit 4370a27

Please sign in to comment.