Various clean ups for the release.
This commit is contained in:
@@ -43,7 +43,7 @@ void FlightManipulator::home(const GUIEventAdapter& ea,GUIActionAdapter& us)
|
||||
const osg::BoundingSphere& boundingSphere=_node->getBound();
|
||||
|
||||
_camera->setLookAt(
|
||||
boundingSphere._center+osg::Vec3( 0.0,-2.0f * boundingSphere._radius,0.0f),
|
||||
boundingSphere._center+osg::Vec3( 0.0,-3.0f * boundingSphere._radius,0.0f),
|
||||
boundingSphere._center,
|
||||
osg::Vec3(0.0f,0.0f,1.0f));
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ RenderBinPrototypeList* renderBinPrototypeList()
|
||||
|
||||
RenderBin* RenderBin::createRenderBin(const std::string& binName)
|
||||
{
|
||||
// cout << "creating RB "<<binName<<endl;
|
||||
// cout << "creating RB "<<binName<<std::endl;
|
||||
|
||||
RenderBinPrototypeList::iterator itr = renderBinPrototypeList()->find(binName);
|
||||
if (itr != renderBinPrototypeList()->end()) return dynamic_cast<RenderBin*>(itr->second->clone());
|
||||
@@ -32,7 +32,7 @@ void RenderBin::addRenderBinPrototype(RenderBin* proto)
|
||||
if (proto)
|
||||
{
|
||||
(*renderBinPrototypeList())[proto->className()] = proto;
|
||||
// cout << "Adding RB "<<proto->className()<<endl;
|
||||
// cout << "Adding RB "<<proto->className()<<std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ void TrackballManipulator::home(const GUIEventAdapter& ,GUIActionAdapter& us)
|
||||
|
||||
const osg::BoundingSphere& boundingSphere=_node->getBound();
|
||||
|
||||
_camera->setView(boundingSphere._center+osg::Vec3( 0.0,-2.0f * boundingSphere._radius,0.0f),
|
||||
_camera->setView(boundingSphere._center+osg::Vec3( 0.0,-3.0f * boundingSphere._radius,0.0f),
|
||||
boundingSphere._center,
|
||||
osg::Vec3(0.0f,0.0f,1.0f));
|
||||
|
||||
@@ -285,7 +285,7 @@ bool TrackballManipulator::calcMovement()
|
||||
else
|
||||
{
|
||||
|
||||
// notify(DEBUG_INFO) << "Pushing forward"<<endl;
|
||||
// notify(DEBUG_INFO) << "Pushing forward"<<std::endl;
|
||||
// push the camera forward.
|
||||
float scale = 0.0015f*fd;
|
||||
osg::Vec3 dv = _camera->getLookVector()*(dy*scale);
|
||||
|
||||
Reference in New Issue
Block a user