Changes between Initial Version and Version 1 of Ticket #1121, comment 4


Ignore:
Timestamp:
Jun 1, 2012, 2:20:59 AM (12 years ago)
Author:
vts

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1121, comment 4

    initial v1  
    1 I've examined the ray intersection test more closely, and it is deals with flat boxes correctly. The problem was in the AABB to OBB transformation method that assumed that it could take a vector because any two box corner points along a dimension. That doesn't work if the box size in that dimension is zero, though.
     1I've examined the ray intersection test more closely, and it is deals with flat boxes correctly. The problem was in the AABB to OBB transformation method that assumed that it could take a vector between any two box corner points along a dimension. That doesn't work if the box size in that dimension is zero, though.
    22
    33I've replaced it with a different transformation method that transforms the AABB basis vectors directly, bypassing the need to take that vector. I also added some basic tests for the transformation, just to make sure the math is right (and stays right).