| 33 | | /* |
| 34 | | osg::Node* createSolarSystem() |
| 35 | | { |
| 36 | | osg::Vec3 center(0.0f,0.0f,0.0f); |
| 37 | | float radius = 100.0f; |
| 38 | | |
| 39 | | osg::Group* root = new osg::Group; |
| 40 | | |
| 41 | | root->addChild(createMovingModel(center,radius*0.8f)); |
| 42 | | |
| 43 | | root->addChild(createBase(center-osg::Vec3(0.0f,0.0f,radius*0.5),radius)); |
| 44 | | |
| 45 | | return root; |
| 46 | | } |
| 47 | | */ |
| | 41 | |
| | 42 | osg::Node* createSolarSystem(SolarSystemParameters& parameters) |
| | 43 | { |
| | 44 | return 0; |
| | 45 | } |
| 99 | | std::cout << "radiusSun = " << myValues.radiusSun << std::endl; |
| 100 | | std::cout << "RorbitEarth = " << myValues.RorbitEarth << std::endl; |
| 101 | | std::cout << "radiusEarth = " << myValues.radiusEarth << std::endl; |
| 102 | | std::cout << "radiusMoon = " << myValues.radiusMoon << std::endl; |
| 103 | | std::cout << "RorbitMoon = " << myValues.RorbitMoon << std::endl; |
| 104 | | std::cout << "tiltEarth = " << myValues.tiltEarth << std::endl; |
| 105 | | std::cout << "rotateSpeedEarth = " << myValues.rotateSpeedEarth << std::endl; |
| 106 | | std::cout << "rotateSpeedMoon = " << myValues.rotateSpeedMoon << std::endl; |
| | 97 | std::cout << "radiusSun = " << parameters.radiusSun << std::endl; |
| | 98 | std::cout << "RorbitEarth = " << parameters.RorbitEarth << std::endl; |
| | 99 | std::cout << "radiusEarth = " << parameters.radiusEarth << std::endl; |
| | 100 | std::cout << "radiusMoon = " << parameters.radiusMoon << std::endl; |
| | 101 | std::cout << "RorbitMoon = " << parameters.RorbitMoon << std::endl; |
| | 102 | std::cout << "tiltEarth = " << parameters.tiltEarth << std::endl; |
| | 103 | std::cout << "rotateSpeedEarth = " << parameters.rotateSpeedEarth << std::endl; |
| | 104 | |