Show
Ignore:
Timestamp:
05/20/07 13:45:09 (5 years ago)
Author:
robert
Message:

Added support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in CMake build and
include/osg/Matrix and include/osg/Plane.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/Plane

    r6700 r6704  
    2424#include <vector> 
    2525 
    26 #define OSG_USE_DOUBLE_PLANE 1 
    27  
    2826namespace osg { 
    2927 
     
    3432    public: 
    3533 
    36 #ifdef OSG_USE_DOUBLE_PLANE 
     34#ifdef OSG_USE_FLOAT_PLANE 
     35        /** Type of Plane class.*/ 
     36        typedef float value_type; 
     37        typedef Vec3f Vec3_type; 
     38        typedef Vec4f Vec4_type; 
     39#else 
    3740        /** Type of Plane class.*/ 
    3841        typedef double value_type; 
    3942        typedef Vec3d Vec3_type; 
    4043        typedef Vec4d Vec4_type; 
    41 #else 
    42         /** Type of Plane class.*/ 
    43         typedef float value_type; 
    44         typedef Vec3f Vec3_type; 
    45         typedef Vec4f Vec4_type; 
    4644#endif 
    4745