Updated godot, voxel module; fixed spawners; added C++ border and radial points calculation

This commit is contained in:
Segey Lapin
2021-10-29 00:58:53 +03:00
parent db6430230e
commit 7cad4daf2f
8 changed files with 131 additions and 35 deletions

View File

@@ -128,10 +128,12 @@ public:
{
rg->save_json(path);
}
#if 0
inline PoolVector<Vector3> get_site_border(int site)
{
return rg->get_site_border(site);
}
#endif
inline int get_site_count() const
{
return rg->get_site_count();
@@ -140,5 +142,13 @@ public:
{
return rg->get_site_type(site);
}
inline PoolVector<Vector3> get_site_border(int site, float offt)
{
return rg->get_site_border(site, offt);
}
inline PoolVector<Vector3> get_site_radial_points(int site, float bofft, float offt)
{
return rg->get_site_radial_points(site, bofft, offt);
}
};