openmw-tes3coop/apps/openmw/mwrender/objects.cpp

21 lines
521 B
C++
Raw Normal View History

2011-11-01 03:59:16 +00:00
#include "objects.hpp"
2011-11-02 04:13:33 +00:00
#include <OgreSceneNode.h>
2011-11-01 03:59:16 +00:00
using namespace MWRender;
2011-11-01 17:46:57 +00:00
void Objects::insertBegin (const MWWorld::Ptr& ptr, bool enabled, bool static_){
2011-11-02 04:13:33 +00:00
ptr.getRefData().setBaseNode(mBase);
assert (!mInsert);
isStatic = static_;
2011-11-01 03:59:16 +00:00
2011-11-02 04:13:33 +00:00
// Create and place scene node for this object
mInsert = mBase->createChildSceneNode();
2011-11-01 03:59:16 +00:00
}
2011-11-01 17:46:57 +00:00
void Objects::insertMesh (const MWWorld::Ptr& ptr, const std::string& mesh){
2011-11-01 03:59:16 +00:00
}
2011-11-01 17:46:57 +00:00
void Objects::insertLight (const MWWorld::Ptr& ptr, float r, float g, float b, float radius){
2011-11-01 03:59:16 +00:00
}
2011-11-02 04:13:33 +00:00