Skip to content

Commit

Permalink
Correcting test to recognize zero-size AABBs as valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-guild committed May 10, 2024
1 parent e3afdfb commit 97fb14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fyrox-math/src/aabb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ mod test {
assert!(!_box.is_valid());

_box.add_point(Vector3::new(1.0, 1.0, 1.0));
assert!(!_box.is_valid());
assert!(_box.is_valid());

_box.add_point(Vector3::new(-1.0, -1.0, -1.0));
assert!(_box.is_valid());
Expand Down

0 comments on commit 97fb14a

Please sign in to comment.