Show
Ignore:
Timestamp:
06/20/08 17:50:53 (4 years ago)
Author:
robert
Message:

From Mathias Froehlich, moved optional config variables into include/osg/Config file that
is automatically created by cmake according to its own settings.

Files:
1 modified

Legend:

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

    r8224 r8477  
    1515#define OSG_BOUNDINGBOX 1 
    1616 
     17#include <osg/Config> 
    1718#include <osg/Export> 
    1819#include <osg/Vec3> 
     
    3233    public: 
    3334     
    34 #ifdef OSG_USE_DOUBLE_BOUNDINGBOX 
     35#ifdef OSG_USE_FLOAT_BOUNDINGBOX 
     36        typedef Vec3f vec_type; 
     37        typedef float value_type; 
     38#else 
    3539        typedef Vec3d vec_type; 
    3640        typedef double value_type; 
    37 #else 
    38         typedef Vec3f vec_type; 
    39         typedef float value_type; 
    4041#endif 
    4142