Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate')
This commit is contained in:
@@ -70,8 +70,8 @@ class SG_EXPORT DisplaySettings : public osg::Referenced
|
||||
void setStereoMode(const StereoMode mode) { _stereoMode = mode; }
|
||||
const StereoMode getStereoMode() const { return _stereoMode; }
|
||||
|
||||
void setEyeSeperation(const float eyeSeperation) { _eyeSeperation = eyeSeperation; }
|
||||
const float getEyeSeperation() const { return _eyeSeperation; }
|
||||
void setEyeSeparation(const float eyeSeparation) { _eyeSeparation = eyeSeparation; }
|
||||
const float getEyeSeparation() const { return _eyeSeparation; }
|
||||
|
||||
void setScreenDistance(const float distance) { _screenDistance = distance; }
|
||||
const float getScreenDistance() const { return _screenDistance; }
|
||||
@@ -85,8 +85,8 @@ class SG_EXPORT DisplaySettings : public osg::Referenced
|
||||
void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) { _splitStereoHorizontalEyeMapping = m; }
|
||||
SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const { return _splitStereoHorizontalEyeMapping; }
|
||||
|
||||
void setSplitStereoHorizontalSeperation(const int s) { _splitStereoHorizontalSeperation = s; }
|
||||
const int getSplitStereoHorizontalSeperation() const { return _splitStereoHorizontalSeperation; }
|
||||
void setSplitStereoHorizontalSeparation(const int s) { _splitStereoHorizontalSeparation = s; }
|
||||
const int getSplitStereoHorizontalSeparation() const { return _splitStereoHorizontalSeparation; }
|
||||
|
||||
enum SplitStereoVerticalEyeMapping
|
||||
{
|
||||
@@ -97,8 +97,8 @@ class SG_EXPORT DisplaySettings : public osg::Referenced
|
||||
void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) { _splitStereoVerticalEyeMapping = m; }
|
||||
SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const { return _splitStereoVerticalEyeMapping; }
|
||||
|
||||
void setSplitStereoVerticalSeperation(const int s) { _splitStereoVerticalSeperation = s; }
|
||||
const int getSplitStereoVerticalSeperation() const { return _splitStereoVerticalSeperation; }
|
||||
void setSplitStereoVerticalSeparation(const int s) { _splitStereoVerticalSeparation = s; }
|
||||
const int getSplitStereoVerticalSeparation() const { return _splitStereoVerticalSeparation; }
|
||||
|
||||
|
||||
void setScreenHeight(const float height) { _screenHeight = height; }
|
||||
@@ -137,14 +137,14 @@ class SG_EXPORT DisplaySettings : public osg::Referenced
|
||||
|
||||
bool _stereo;
|
||||
StereoMode _stereoMode;
|
||||
float _eyeSeperation;
|
||||
float _eyeSeparation;
|
||||
float _screenDistance;
|
||||
float _screenHeight;
|
||||
|
||||
SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping;
|
||||
int _splitStereoHorizontalSeperation;
|
||||
int _splitStereoHorizontalSeparation;
|
||||
SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping;
|
||||
int _splitStereoVerticalSeperation;
|
||||
int _splitStereoVerticalSeparation;
|
||||
|
||||
bool _doubleBuffer;
|
||||
bool _RGB;
|
||||
|
||||
@@ -25,10 +25,10 @@ class Node;
|
||||
// this is define to alter the way display lists are compiled inside the
|
||||
// the draw method, it has been found that the NVidia drivers fail completely
|
||||
// to optimize COMPILE_AND_EXECUTE in fact make it go slower than for no display
|
||||
// lists, but optimize a seperate COMPILE very well?! Define it as default
|
||||
// lists, but optimize a separate COMPILE very well?! Define it as default
|
||||
// the use of a sperate COMPILE, then glCallList rather than use COMPILE_AND_EXECUTE.
|
||||
|
||||
#define USE_SEPERATE_COMPILE_AND_EXECUTE
|
||||
#define USE_SEPARATE_COMPILE_AND_EXECUTE
|
||||
|
||||
/** Pure virtual base class for drawable Geometry. Contains no drawing primitives
|
||||
directly, these are provided by subclasses such as osg::Geometry. State attributes
|
||||
@@ -346,7 +346,7 @@ inline void Drawable::draw(State& state)
|
||||
}
|
||||
else if (_useDisplayList)
|
||||
{
|
||||
#ifdef USE_SEPERATE_COMPILE_AND_EXECUTE
|
||||
#ifdef USE_SEPARATE_COMPILE_AND_EXECUTE
|
||||
globj = glGenLists( 1 );
|
||||
glNewList( globj, GL_COMPILE );
|
||||
if (_drawCallback.valid())
|
||||
|
||||
@@ -50,7 +50,7 @@ class SG_EXPORT LightModel : public StateAttribute
|
||||
|
||||
enum ColorControl
|
||||
{
|
||||
SEPERATE_SPECULAR_COLOR,
|
||||
SEPARATE_SPECULAR_COLOR,
|
||||
SINGLE_COLOR
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user