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