added precompiler check if FABS macro is already defined
This commit is contained in:
parent
57c0fc8238
commit
d35117d9c2
|
@ -46,8 +46,9 @@ namespace vcg {
|
||||||
Triangle/triangle intersection ,based on the algorithm presented in "A Fast Triangle-Triangle Intersection Test",
|
Triangle/triangle intersection ,based on the algorithm presented in "A Fast Triangle-Triangle Intersection Test",
|
||||||
Journal of Graphics Tools, 2(2), 1997
|
Journal of Graphics Tools, 2(2), 1997
|
||||||
*/
|
*/
|
||||||
|
#ifndef FABS
|
||||||
#define FABS(x) (T(fabs(x)))
|
#define FABS(x) (T(fabs(x)))
|
||||||
|
#endif
|
||||||
#define USE_EPSILON_TEST
|
#define USE_EPSILON_TEST
|
||||||
#define TRI_TRI_INT_EPSILON 0.000001
|
#define TRI_TRI_INT_EPSILON 0.000001
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue