Commit 8374e0a5 authored by pixhawk's avatar pixhawk

Fixed compilation of OSG earth 2.9.9 on Mac OS X

parent 8366c497
...@@ -254,7 +254,11 @@ GCManipulator::calcMovement() ...@@ -254,7 +254,11 @@ GCManipulator::calcMovement()
if (buttonMask == GUIEventAdapter::LEFT_MOUSE_BUTTON) if (buttonMask == GUIEventAdapter::LEFT_MOUSE_BUTTON)
{ {
// rotate camera // rotate camera
#ifdef __APPLE__
osg::Vec3d axis;
#else
osg::Vec3 axis; osg::Vec3 axis;
#endif
float angle; float angle;
float px0 = _ga_t0->getXnormalized(); float px0 = _ga_t0->getXnormalized();
......
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