Page 1 of 1

Bounding Box

Posted: Mon Dec 04, 2017 11:07 pm
by pivke
Hi,

im deeply in some reversing stuff for an old 3D game. I'm sure that I've found the bounding box data. It's represented as the following:

float CenterX;
float CenterZ;
float CenterY;

float Unknown;
float Unknown;
float Unknown;
float Unknown;

Did someone of you ever see 4 floats representing a bounding box? I'm just confused right now... "top,down,right,left" ist just working for 2D as we know. Maybe someone has a little tip that is getting me into the right direction. The first Unknown is probably MaximumX, second Unknown is MaximumY, but then nothing makes sense )-:

Thanks in advance! :-)

Re: Bounding Box

Posted: Tue Dec 05, 2017 5:03 am
by killercracker
The four floats could represent a bounding sphere. x, y, and z being the position and w being the scale.

Re: Bounding Box

Posted: Tue Dec 05, 2017 7:41 pm
by pivke
killercracker wrote:The four floats could represent a bounding sphere. x, y, and z being the position and w being the scale.
Thank you very much for throwing in that idea! But it is definitely representing a bounding box )-: