Created
March 17, 2011 16:57
-
-
Save jasonroelofs/874688 to your computer and use it in GitHub Desktop.
Adding a Planet, with custom scale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Actor* planet = new Actor(); | |
planet->transform->scale = Ogre::Vector3(size, size, size); | |
planet->addComponent(new components::MeshComponent("sphere.mesh", "dirt")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment