You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/nifogre/tests/ogre_skeleton_test.cpp

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