2010-05-17 15:35:42 +00:00
|
|
|
#include "ogre_common.cpp"
|
2010-01-24 19:58:31 +00:00
|
|
|
|
|
|
|
void C::doTest()
|
|
|
|
{
|
2010-05-17 15:35:42 +00:00
|
|
|
SkeletonManager &skm = SkeletonManager::getSingleton();
|
|
|
|
|
|
|
|
SkeletonPtr skp = skm.create("MySkel", "General");
|
|
|
|
|
|
|
|
cout << "hello\n";
|
|
|
|
/*
|
2010-01-24 19:58:31 +00:00
|
|
|
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);
|
|
|
|
}
|
2010-05-17 15:35:42 +00:00
|
|
|
*/
|
2010-01-24 19:58:31 +00:00
|
|
|
}
|