Skip to content

Commit

Permalink
Connect astronomical objects hierarchically
Browse files Browse the repository at this point in the history
Created PSphere::setNode() and getNode()
Created PSphere::attachAstroChild()
The previous function have been added in order to develop the
functionality which will permit to create and connect various
astronomical objects between each other.
TO FINISH
  • Loading branch information
giogix2 committed Aug 14, 2016
1 parent b94dc3f commit c40a12a
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 395 deletions.
4 changes: 2 additions & 2 deletions GeneratorFrameListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ void GeneratorFrameListener::showDebugOverlay(bool show)

bool GeneratorFrameListener::frameStarted(const Ogre::FrameEvent& evt)
{
// RootSceneNode->getChild("planetSphere")->getChild("sec_node_CK7")->roll(Ogre::Radian(0.04));
// RootSceneNode->getChild("planetSphere")->getChild("sec_node_CK7")->getChild("CK7")->roll(Ogre::Radian(0.04));
// RootSceneNode->getChild("planetSphere")->getChild("sec_node_CK7")->roll(Ogre::Radian(0.04f));
// RootSceneNode->getChild("planetSphere")->getChild("sec_node_CK7")->yaw(Ogre::Radian(0.04f));
//pSphere->moveObject("Ramiro", 3, 0.5);
//pSphere->moveObject("CK7", 2, 0.5);
//pSphere->getObserverDistanceToSurface();
Expand Down
Loading

0 comments on commit c40a12a

Please sign in to comment.