Fix typos and spelling.

This commit is contained in:
Alberto Luaces
2018-04-20 18:18:22 +02:00
committed by Robert Osfield
parent c3008512f1
commit 02c310982e
187 changed files with 302 additions and 302 deletions

View File

@@ -45,11 +45,11 @@ bool Box_readLocalData(Object& obj, Input& fr)
if (fr.matchSequence("HalfLengths %f %f %f"))
{
osg::Vec3 lenghts;
fr[1].getFloat(lenghts.x());
fr[2].getFloat(lenghts.y());
fr[3].getFloat(lenghts.z());
box.setHalfLengths(lenghts);
osg::Vec3 lengths;
fr[1].getFloat(lengths.x());
fr[2].getFloat(lengths.y());
fr[3].getFloat(lengths.z());
box.setHalfLengths(lengths);
fr+=4;
iteratorAdvanced = true;
}

View File

@@ -266,7 +266,7 @@ bool GeoState_readLocalData(Object& obj, Input& fr)
if (fr[0].matchWord("texgening") && StateSet_matchModeStr(fr[1].getStr(),mode))
{
// leave up to a tex gen object to set modes associated with TexGen
// as there are mutiple modes associated with TexGen. See below
// as there are multiple modes associated with TexGen. See below
// attribute reading code.
texgening = mode;
fr+=2;

View File

@@ -180,7 +180,7 @@ bool ParticleEffect_readLocalData(osg::Object& object, osgDB::Input& fr)
if (!effect.getAutomaticSetup())
{
// since by default the clone of the ParticleEffect is done with automatic setup off to prevent premature loading of
// imagery, we still want to make sure the ParticleEffect is properly built so we'll now mannually enable the automatic setup
// imagery, we still want to make sure the ParticleEffect is properly built so we'll now manually enable the automatic setup
// run the buildEffect().
effect.setAutomaticSetup(true);
effect.buildEffect();

View File

@@ -312,7 +312,7 @@ bool TextBase_writeLocalData(const osg::Object &obj, osgDB::Output &fw)
// font resolution
fw.indent() << "fontResolution " << text.getFontWidth() << " " << text.getFontHeight() << std::endl;
// charater size.
// character size.
fw.indent() << "characterSize " << text.getCharacterHeight() << " " << text.getCharacterAspectRatio() << std::endl;
fw.indent() << "characterSizeMode ";