BUG: UT_BoundingBox::initBounds()

   2763   2   0
User Avatar
Member
398 posts
Joined: July 2005
Offline
initBounds() creates wrong limits of bounding box. Min vec instead of max vec and vice versa.
BBoxMin =
BBoxMax =
H9.1.144
f = conserve . diffuse . advect . add

fx td @ the mill
User Avatar
Member
7710 posts
Joined: July 2005
Online
It is done this way so that enlargeBounds() doesn't need special cases. If it was reversed, then you'd get a very LARGE bounding box initially, instead of an invalid one. If you really want them reversed, then call initMaxBounds() instead.

PS. There's comments in the header …
User Avatar
Member
398 posts
Joined: July 2005
Offline
Now it's clear edward. Thanks.
f = conserve . diffuse . advect . add

fx td @ the mill
  • Quick Links