Ignore:
Timestamp:
09/20/06 13:37:29 (18 years ago)
Author:
mattausch
Message:

corrected raycasting bug for triangles because of ill defined triangles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Vector3.cpp

    r863 r1420  
    22#include "Vector3.h" 
    33#include "Halton.h" 
     4#include "float.h" 
     5 
    46 
    57namespace GtpVisibilityPreprocessor { 
     
    253255} 
    254256 
    255 } 
     257 
     258bool Vector3::CheckValidity() const 
     259{ 
     260        return !(_isnan(x) || _isnan(y) || _isnan(z)); 
     261         //return ((x != x) || (y != y) || (z != z)); 
     262} 
     263 
     264} 
Note: See TracChangeset for help on using the changeset viewer.