- Home /
Issue - Bounds.SetMinMax calculate negative extents
Using just plain and simple Bounds to calculate some game logic and just realised I managed to produce negative extent value (check Debug screenshot -> negative extent X value) by using perfectly legal method:
_BoundingBoxColumn.SetMinMax (_BoundBoxColumn_Min, _BoundBoxColumn_Max);
Did anyone else hit the negative extents before?
The real issue is that I'm unable to use Bounds.Contain, according to link text : "Note: If Bounds.extents has a negative value for any axis, Bounds.Contains always returns False."
Thanks !
extents-negative.png
(96.6 kB)
Comment