Fix typos and spelling.
This commit is contained in:
committed by
Robert Osfield
parent
c3008512f1
commit
02c310982e
@@ -226,7 +226,7 @@ void DOFTransform::updateCurrentHPR(const osg::Vec3& hpr)
|
||||
//if there is constrain on animation
|
||||
if (_limitationFlags & ROTATION_ROLL_LIMIT_BIT)
|
||||
{
|
||||
//if we have min == max, it is efective constrain, so don't change
|
||||
//if we have min == max, it is effective constrain, so don't change
|
||||
if(_minHPR[2] != _maxHPR[2])
|
||||
{
|
||||
_currentHPR[2] = hpr[2];
|
||||
|
||||
@@ -159,7 +159,7 @@ void ImpostorSpriteManager::push_back(ImpostorSprite* is)
|
||||
{
|
||||
if (is==NULL || is==_last) return;
|
||||
|
||||
// remove entry for exisiting position in linked list
|
||||
// remove entry for existing position in linked list
|
||||
// if it is already inserted.
|
||||
if (is->_previous)
|
||||
{
|
||||
@@ -198,7 +198,7 @@ void ImpostorSpriteManager::remove(ImpostorSprite* is)
|
||||
{
|
||||
if (is==NULL) return;
|
||||
|
||||
// remove entry for exisiting position in linked list
|
||||
// remove entry for existing position in linked list
|
||||
// if it is already inserted.
|
||||
if (is->_previous)
|
||||
{
|
||||
|
||||
@@ -271,7 +271,7 @@ void LightPointNode::traverse(osg::NodeVisitor& nv)
|
||||
// slip light point if its intensity is 0.0 or negative.
|
||||
if (intensity<=minimumIntensity) continue;
|
||||
|
||||
// (SIB) Clip on distance, if close to limit, add transparancy
|
||||
// (SIB) Clip on distance, if close to limit, add transparency
|
||||
float distanceFactor = 1.0f;
|
||||
if (_maxVisibleDistance2!=FLT_MAX)
|
||||
{
|
||||
|
||||
@@ -358,7 +358,7 @@ public:
|
||||
|
||||
void projectDowntoBase(const osg::Vec3d& control, const osg::Vec3d& normal)
|
||||
{
|
||||
// OSG_NOTICE<<"CustomPolytope::projectDowntoBase not implementated yet."<<std::endl;
|
||||
// OSG_NOTICE<<"CustomPolytope::projectDowntoBase not implemented yet."<<std::endl;
|
||||
|
||||
Faces removedFaces;
|
||||
|
||||
|
||||
@@ -361,6 +361,6 @@ float DirectionalSector::operator() (const osg::Vec3& eyeLocal) const
|
||||
// Azimuth check passed
|
||||
|
||||
// We're good! Return full intensity
|
||||
//fprintf(stderr, " %%%% Returing intensity = %f\n", elev_intensity * azim_intensity) ;
|
||||
//fprintf(stderr, " %%%% Returning intensity = %f\n", elev_intensity * azim_intensity) ;
|
||||
return elev_intensity * azim_intensity ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user