1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/nifogre/tests/ogre_skeleton_test.cpp

15 lines
311 B
C++
Raw Normal View History

2010-01-24 19:58:31 +00:00
#include "ogre_mesh_common.cpp"
void C::doTest()
{
MeshPtr msh = makeMesh("mesh1");
// Display the mesh
{
SceneNode *node = mgr->getRootSceneNode()->createChildSceneNode("node");
Entity *ent = mgr->createEntity("Mesh1", "mesh1");
node->attachObject(ent);
node->setPosition(0,0,4);
}
}