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/Matrix

    r5328 r6704  
    1818#include <osg/Matrixf> 
    1919 
    20 #define OSG_USE_DOUBLE_MATRICES 1 
    21  
    2220namespace osg { 
    2321 
    24 #ifdef OSG_USE_DOUBLE_MATRICES 
     22#ifdef OSG_USE_FLOAT_MATRIX 
     23    typedef Matrixf Matrix; 
     24    typedef RefMatrixf RefMatrix; 
     25#else 
    2526    typedef Matrixd Matrix; 
    2627    typedef RefMatrixd RefMatrix; 
    27 #else 
    28     typedef Matrixf Matrix; 
    29     typedef RefMatrixf RefMatrix; 
    30  
    3128#endif 
    3229