Skip to content

Commit

Permalink
Make vec2b Default
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Nov 20, 2023
1 parent d96a617 commit a29eda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/emath/src/vec2b.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Two bools, one for each axis (X and Y).
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub struct Vec2b {
pub x: bool,
Expand Down

0 comments on commit a29eda2

Please sign in to comment.