| 1 |
DESCRIPTION OF PROBLEM: |
| 2 |
======================= |
| 3 |
|
| 4 |
Because of the coarse nature of SnapNormal(), planes that are 0.25 degrees |
| 5 |
away from being axial are "snapped" to be axial. The "normal epsilon" |
| 6 |
is a very small value by default, and cannot go much smaller (without |
| 7 |
running into limits of floating point numbers). The problem with |
| 8 |
SnapNormal() is that we compare the components of the normal that are near |
| 9 |
1, instead of comaring the components that are near 0. This leads to a very |
| 10 |
coarse and inaccurate SnapNormal(). |
| 11 |
|
| 12 |
If you open the example map in Radiant, you can see that the red brick should |
| 13 |
touch the middle checkered brick at the edge. However, once this map is |
| 14 |
compiled, the edges are a significant distance apart. This is due to the |
| 15 |
coarse and inaccurate nature of SnapNormal(). Likewise, the green brick should |
| 16 |
be flush with the center tiled brick, but it's not. |