Update; refactor of initial code
This commit is contained in:
@@ -70,9 +70,9 @@ public:
|
||||
void all_offsets();
|
||||
PoolVector<String> build_item_list(float width, int flags, float sidewalk_width) const;
|
||||
Ref<Curve3D> build_curve(Vector3 p1, Vector3 p2, Vector3 p3, float total_width) const;
|
||||
Array curve_mesh(PoolVector<Vector3> points, float width, int flags, float sidewalk_width);
|
||||
Array curve_mesh(PoolVector<Vector3> points, float width1, float width2, int flags, float sidewalk_width);
|
||||
int make_vmesh(Node *root, Ref<Material> mat, Ref<ArrayMesh> mesh, MeshInstance *xmi, Vector3 p1, Vector3 p2,
|
||||
Vector3 p3, float width, int flags, float sidewalk_width);
|
||||
Vector3 p3, float width1, float width2, int flags, float sidewalk_width);
|
||||
void process_vshapes();
|
||||
void add_scene_element(Node *root, Node *xnode, const Vector3 &p2, Ref<ConcavePolygonShape> shape);
|
||||
};
|
||||
@@ -104,5 +104,9 @@ public:
|
||||
{
|
||||
return rg->get_site_avg_height(site);
|
||||
}
|
||||
inline void save_json(const String &path)
|
||||
{
|
||||
rg->save_json(path);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user