mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Grr, this should have been part of the last commit and I realized this only
after there were unsaved buffers in emacs when I was quitting out of everything. This is a comment in map.c related to USE_HASHING, and how we should test points against the plane even if it's off. Speaking of which, I should proofread the USE_HASHING hashing algorithm to make sure it's not causing any problems. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-math-fix-experiments@405 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
741e429151
commit
c53833bfbd
1 changed files with 3 additions and 0 deletions
|
@ -395,6 +395,9 @@ int FindFloatPlane( vec3_t normal, vec_t dist, int numPoints, vec3_t *points )
|
||||||
{
|
{
|
||||||
if( PlaneEqual( p, normal, dist ) )
|
if( PlaneEqual( p, normal, dist ) )
|
||||||
return i;
|
return i;
|
||||||
|
// TODO: Note that the non-USE_HASHING code does not compute epsilons
|
||||||
|
// for the provided points. It should do that. I think this code
|
||||||
|
// is unmaintained because nobody sets USE_HASHING to off.
|
||||||
}
|
}
|
||||||
|
|
||||||
return CreateNewFloatPlane( normal, dist );
|
return CreateNewFloatPlane( normal, dist );
|
||||||
|
|
Loading…
Reference in a new issue