From Jannik Heller, typo fixes
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14882 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -615,7 +615,7 @@ int main( int argc, char **argv )
|
||||
|
||||
osg::notify(osg::INFO)<<"Time to do cluster sync "<<osg::Timer::instance()->delta_m(startTick,endTick)<<std::endl;
|
||||
|
||||
// update the scene by traversing it with the the update visitor which will
|
||||
// update the scene by traversing it with the update visitor which will
|
||||
// call all node update callbacks and animations.
|
||||
viewer.eventTraversal();
|
||||
viewer.updateTraversal();
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/*!
|
||||
The DePee class is main class for setting up and managing depth peeling.
|
||||
A DePee object can be seen as a virtual node, that has one parent and one child. The rendering of every child and subchil of this child is managed by the the DePee node. Besides that, it handles a head up display.
|
||||
A DePee object can be seen as a virtual node, that has one parent and one child. The rendering of every child and subchil of this child is managed by the DePee node. Besides that, it handles a head up display.
|
||||
*/
|
||||
class DePee : public osg::Referenced
|
||||
{
|
||||
|
||||
@@ -401,7 +401,7 @@ int main( int argc, char **argv )
|
||||
|
||||
|
||||
// we must assign callback as both an update and cull callback, as update callback to do the update of
|
||||
// the the osgFX::MultiTextureControl node a thread safe way, and as a cull callback to gather the camera
|
||||
// the osgFX::MultiTextureControl node a thread safe way, and as a cull callback to gather the camera
|
||||
// position information.
|
||||
ElevationLayerBlendingCallback* elbc = new ElevationLayerBlendingCallback(mtc, elevations);
|
||||
terrain->setUpdateCallback(elbc);
|
||||
|
||||
@@ -316,7 +316,7 @@ public:
|
||||
{
|
||||
// insert particle effects alongside the hit node, therefore able to track that nodes movement,
|
||||
// however, this does require us to insert the ParticleSystem itself into the root of the scene graph
|
||||
// separately from the the main particle effects group which contains the emitters and programs.
|
||||
// separately from the main particle effects group which contains the emitters and programs.
|
||||
// the follow code block implements this, note the path for handling particle effects which arn't attached to
|
||||
// moving models is easy - just a single line of code!
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ int main( int argc, char **argv )
|
||||
|
||||
if (!loadedModel)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Please specifiy a model filename on the command line."<<std::endl;
|
||||
osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."<<std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -546,7 +546,7 @@ public:
|
||||
originalImage->getPixelFormat(),originalImage->getDataType(), // same pixel foramt and data type
|
||||
originalImage->data(originalImage->s()/4,originalImage->t()/4), // offset teh start point to 1/4 into the image
|
||||
osg::Image::NO_DELETE, // don't attempt to delete the image data, leave this to the originalImage
|
||||
originalImage->getPacking(), // use the the same packing
|
||||
originalImage->getPacking(), // use the same packing
|
||||
originalImage->s()); // use the width of the original image as the row width
|
||||
|
||||
|
||||
|
||||
@@ -307,7 +307,7 @@ class TestGraph
|
||||
This was written to aid the auto-registration of tests at specific points in
|
||||
the test tree, where the tests' AutoRegistrationAgents may be distributed across
|
||||
several files, and cannot be guaranteed to run in a given order. E.g. You cannot
|
||||
register a test "root.osg.MyTest" unless you know that the the suite "root.osg"
|
||||
register a test "root.osg.MyTest" unless you know that the suite "root.osg"
|
||||
already exists.
|
||||
|
||||
|
||||
@@ -481,9 +481,9 @@ public:
|
||||
TestRunner( TestContext& ctx );
|
||||
|
||||
/**
|
||||
Tests may be specified by partial names. E.g. specifiying "root"
|
||||
Tests may be specified by partial names. E.g. specifying "root"
|
||||
will run all tests below root, i.e. all tests.
|
||||
Specifiying "root.osg" will run all tests below \em root.osg.
|
||||
Specifying "root.osg" will run all tests below \em root.osg.
|
||||
Specifying "root.osg.de" will run all tests (and suites) below
|
||||
\em root.osg with names beginning with the \em de.
|
||||
*/
|
||||
|
||||
@@ -1224,7 +1224,7 @@ int main( int argc, char **argv )
|
||||
// set the scene to render
|
||||
viewer.setSceneData(loadedModel.get());
|
||||
|
||||
// the the viewers main frame loop
|
||||
// the viewers main frame loop
|
||||
viewer.run();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user