mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Fixed: GCC error with templates (by Naush)
This commit is contained in:
parent
5f9da63b41
commit
4f3ceccb18
4 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ namespace NL3D {
|
|||
|
||||
|
||||
template <>
|
||||
const char *CPSAttribMaker<NLMISC::CRGBA>::getType() { return "CRGBA"; }
|
||||
inline const char *CPSAttribMaker<NLMISC::CRGBA>::getType() { return "CRGBA"; }
|
||||
|
||||
|
||||
// Depending on the driver, the format of colors in vertex buffer may change. We don't want to change the format for each data that is (dynamically) in vertex buffer, so
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
namespace NL3D {
|
||||
|
||||
template <>
|
||||
const char *CPSAttribMaker<float>::getType() { return "float"; }
|
||||
inline const char *CPSAttribMaker<float>::getType() { return "float"; }
|
||||
|
||||
/// these are some attribute makers for float
|
||||
/// This is a float blender class. It just blend between 2 values
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
namespace NL3D {
|
||||
|
||||
template <>
|
||||
const char *CPSAttribMaker<uint32>::getType() { return "int32"; }
|
||||
inline const char *CPSAttribMaker<uint32>::getType() { return "int32"; }
|
||||
|
||||
/// these are some attribute makers for int
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
namespace NL3D {
|
||||
|
||||
template <>
|
||||
const char *CPSAttribMaker<CPlaneBasis>::getType() { return "CPlaneBasis";}
|
||||
inline const char *CPSAttribMaker<CPlaneBasis>::getType() { return "CPlaneBasis";}
|
||||
|
||||
/** these are some attribute makers for plane_basis
|
||||
* This is a plane basis class. It just blend between 2 plane by linearly interpolating the normal
|
||||
|
|
Loading…
Reference in a new issue