Updated godot, voxel module; fixed spawners; added C++ border and radial points calculation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user