godot-lportal/ldob.h

28 lines
347 B
C
Raw Normal View History

#pragma once
#include "scene/3d/spatial.h"
2019-09-16 15:23:10 +02:00
class VisualInstance;
// static object
class LSob
{
public:
2019-09-16 15:23:10 +02:00
Spatial * GetSpatial() const;
ObjectID m_ID; // godot object
AABB m_aabb; // world space
2019-09-16 15:23:10 +02:00
bool m_bVisible;
};
// dynamic object
class LDob
{
public:
2019-09-16 15:23:10 +02:00
Spatial * GetSpatial() const;
ObjectID m_ID;
2019-09-16 15:23:10 +02:00
bool m_bVisible;
float m_fRadius;
};