#131121 - a128 - Mon Jun 11, 2007 10:22 am
I have a question about the parameters for BoxTest (x,y,z,.....)
could it be that x,y,z is just the center of the box?
and that width and height and depth
is somethink like width= (abs(xmin)+abs(xmax) ) / 2?
The boxtest example in libnds just calculates boxtest using boxtest(xmin,ymin,zmin.....) but do not use it for culling tests.
I just ask because it's common for culling boxtests that you define the Center and the Size from that center point.
Last edited by a128 on Mon Jun 18, 2007 8:05 am; edited 1 time in total
could it be that x,y,z is just the center of the box?
and that width and height and depth
is somethink like width= (abs(xmin)+abs(xmax) ) / 2?
The boxtest example in libnds just calculates boxtest using boxtest(xmin,ymin,zmin.....) but do not use it for culling tests.
I just ask because it's common for culling boxtests that you define the Center and the Size from that center point.
Last edited by a128 on Mon Jun 18, 2007 8:05 am; edited 1 time in total