trimesh.h:
- added ScalarType typedef to GL_TYPE structure
This commit is contained in:
parent
eedb03d390
commit
558fcd784a
|
|
@ -41,10 +41,12 @@ class GL_TYPE
|
|||
};
|
||||
template <> class GL_TYPE<float>
|
||||
{ public:
|
||||
typedef GLfloat ScalarType;
|
||||
static GLenum SCALAR() { return GL_FLOAT; }
|
||||
};
|
||||
template <> class GL_TYPE<double>
|
||||
{public:
|
||||
typedef GLdouble ScalarType;
|
||||
static GLenum SCALAR() { return GL_DOUBLE; }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue