Prepared for buildings spawning

This commit is contained in:
Segey Lapin
2021-10-16 04:26:41 +03:00
parent 45a67ac8bd
commit da73a164a0
4 changed files with 84 additions and 2 deletions

View File

@@ -97,5 +97,12 @@ public:
void set_curve(Ref<Curve> curve);
float get_sdf(int x, int y, int z);
Vector2 get_site_pos(int site);
PoolVector<Vector2> get_site_polygon_2d(int site);
PoolVector<Vector3> get_site_polygon_3d(int site);
PoolVector<int> get_here_sites(const Vector3 &pos);
inline float get_site_avg_height(int site)
{
return rg->get_site_avg_height(site);
}
};