Commit f5fc51f7 authored by schurade's avatar schurade
Browse files

[STYLE]

parent 01cbcb29
......@@ -177,10 +177,10 @@ void WMHud::init()
m_osgPickText->setCharacterSize( 20 );
//m_osgPickText->setFont("C:/WINDOWS/Fonts/impact.ttf");
m_osgPickText->setText("nothing picked");
m_osgPickText->setAxisAlignment(osgText::Text::SCREEN);
m_osgPickText->setPosition( osg::Vec3(620,80,-1.5) );
m_osgPickText->setColor( osg::Vec4(0, 0, 0, 1) );
m_osgPickText->setText( "nothing picked" );
m_osgPickText->setAxisAlignment( osgText::Text::SCREEN );
m_osgPickText->setPosition( osg::Vec3( 620, 80, -1.5 ) );
m_osgPickText->setColor( osg::Vec4( 0, 0, 0, 1 ) );
m_rootNode->setUserData( this );
m_rootNode->setUpdateCallback( new HUDNodeCallback );
......
......@@ -118,7 +118,7 @@ private:
osg::ref_ptr<osg::Group>m_HUDs;
// Text instance that wil show up in the HUD:
// Text instance that will show up in the HUD
osg::ref_ptr<osgText::Text> m_osgPickText;
......
......@@ -145,11 +145,11 @@ void WMNavSlices::create()
m_rootNode = osg::ref_ptr<osg::Group>( new osg::Group() );
m_xSliceNode = osg::ref_ptr<osg::Geode>( new osg::Geode() );
m_xSliceNode->setName( "X-Slice");
m_xSliceNode->setName( "X-Slice" );
m_ySliceNode = osg::ref_ptr<osg::Geode>( new osg::Geode() );
m_ySliceNode->setName( "Y-Slice");
m_ySliceNode->setName( "Y-Slice" );
m_zSliceNode = osg::ref_ptr<osg::Geode>( new osg::Geode() );
m_zSliceNode->setName( "Z-Slice");
m_zSliceNode->setName( "Z-Slice" );
m_xSliceNode->addDrawable( createGeometry( 0 ) );
m_ySliceNode->addDrawable( createGeometry( 1 ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment