mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
mathutil: fix bad assert in BoundingBox::set_min_max
This commit is contained in:
parent
08b2046cfb
commit
bafd523e2b
@ -101,7 +101,7 @@ get_plane(int n) const {
|
||||
INLINE_MATHUTIL void BoundingBox::
|
||||
set_min_max(const LPoint3 &min, const LPoint3 &max) {
|
||||
nassertv(!min.is_nan() && !max.is_nan());
|
||||
nassertv(_min[0] <= _max[0] && _min[1] <= _max[1] && _min[2] <= _max[2]);
|
||||
nassertv(min[0] <= max[0] && min[1] <= max[1] && min[2] <= max[2]);
|
||||
_min = min;
|
||||
_max = max;
|
||||
_flags = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user