1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 08:15:33 +00:00
openmw-tes3mp/nifogre/tests/ogre_skeleton_test.cpp
2010-01-24 20:58:31 +01:00

14 lines
311 B
C++

#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);
}
}