// i want a box 1x1x2 along x,y,z world axes
auto mesh = Procedural::BoxGenerator (1,1,2,1,1,1).realizeMesh ("boxtest", "test_group");
auto* scene = Ogre::Root::getSingleton ().getSceneManagers ().begin ()->second;
auto node = scene->getRootSceneNode ()->createChildSceneNode ();
auto entity = scene->createEntity (mesh);
node->attachObject (entity);
minimal reproduction of the bug:
// i want a box 1x1x2 along x,y,z world axes auto mesh = Procedural::BoxGenerator (1,1,2,1,1,1).realizeMesh ("boxtest", "test_group"); auto* scene = Ogre::Root::getSingleton ().getSceneManagers ().begin ()->second; auto node = scene->getRootSceneNode ()->createChildSceneNode (); auto entity = scene->createEntity (mesh); node->attachObject (entity);