mirror of
https://github.com/Relintai/godot-lportal.git
synced 2024-11-11 10:52:09 +01:00
28 lines
347 B
C++
28 lines
347 B
C++
#pragma once
|
|
|
|
#include "scene/3d/spatial.h"
|
|
|
|
class VisualInstance;
|
|
|
|
// static object
|
|
class LSob
|
|
{
|
|
public:
|
|
Spatial * GetSpatial() const;
|
|
|
|
ObjectID m_ID; // godot object
|
|
AABB m_aabb; // world space
|
|
bool m_bVisible;
|
|
};
|
|
|
|
// dynamic object
|
|
class LDob
|
|
{
|
|
public:
|
|
Spatial * GetSpatial() const;
|
|
|
|
ObjectID m_ID;
|
|
bool m_bVisible;
|
|
float m_fRadius;
|
|
};
|