openmw-tes3coop/apps/openmw/mwrender/objects.cpp
2011-11-02 00:13:33 -04:00

20 lines
521 B
C++

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