godot-lportal/ldob.cpp

21 lines
364 B
C++
Raw Normal View History

#include "ldob.h"
2019-09-16 15:23:10 +02:00
#include "scene/3d/mesh_instance.h"
Spatial * LSob::GetSpatial() const
{
Object * pObj = ObjectDB::get_instance(m_ID);
Spatial * pSpat = Object::cast_to<Spatial>(pObj);
return pSpat;
}
Spatial * LDob::GetSpatial() const
{
Object * pObj = ObjectDB::get_instance(m_ID);
Spatial * pSpat = Object::cast_to<Spatial>(pObj);
return pSpat;
}