Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
This commit is contained in:
@@ -38,19 +38,19 @@ class SG_EXPORT LightSource : public Group
|
||||
|
||||
enum ReferenceFrame
|
||||
{
|
||||
RELATIVE,
|
||||
ABSOLUTE
|
||||
RELATIVE_RF,
|
||||
ABSOLUTE_RF
|
||||
#ifdef USE_DEPRECATED_API
|
||||
,
|
||||
RELATIVE_TO_PARENTS=RELATIVE,
|
||||
RELATIVE_TO_ABSOLUTE=ABSOLUTE,
|
||||
RELATIVE_TO_PARENTS=RELATIVE_RF,
|
||||
RELATIVE_TO_ABSOLUTE=ABSOLUTE_RF,
|
||||
#endif
|
||||
};
|
||||
|
||||
/** Set the light sources's ReferenceFrame, either to be relative to its
|
||||
* parent reference frame, or relative to an absolute coordinate
|
||||
* frame. RELATIVE is the default.
|
||||
* Note: setting the ReferenceFrame to be RELATIVE_TO_ABSOLUTE will
|
||||
* frame. RELATIVE_RF is the default.
|
||||
* Note: setting the ReferenceFrame to be ABSOLUTE_RF will
|
||||
* also set the CullingActive flag on the light source, and hence all
|
||||
* of its parents, to false, thereby disabling culling of it and
|
||||
* all its parents. This is necessary to prevent inappropriate
|
||||
|
||||
Reference in New Issue
Block a user