mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-29 07:07:14 +01:00
Also port the logic in the mesh utils.
This commit is contained in:
parent
f5c1a5eec1
commit
5b8a89216b
@ -29,7 +29,7 @@ if 'TOOLS_ENABLED' in env["CPPDEFINES"]:
|
|||||||
|
|
||||||
module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_decompose.cpp")
|
module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_decompose.cpp")
|
||||||
module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_outline.cpp")
|
module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_outline.cpp")
|
||||||
#module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_utils.cpp")
|
module_env.add_source_files(env.modules_sources,"editor/utilities/mdr_ed_mesh_utils.cpp")
|
||||||
|
|
||||||
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp")
|
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp")
|
||||||
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance_2d.cpp")
|
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance_2d.cpp")
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -48,21 +48,21 @@ public:
|
|||||||
|
|
||||||
bool processed;
|
bool processed;
|
||||||
|
|
||||||
int get_other_side_index(int index);
|
int get_other_side_index(int index) const;
|
||||||
|
|
||||||
int get_side_index(int i);
|
int get_side_index(int i) const;
|
||||||
int get_side_index_cut();
|
int get_side_index_cut() const;
|
||||||
int get_opposite_side_index_cut();
|
int get_opposite_side_index_cut() const;
|
||||||
bool is_side_index_cut(int i);
|
bool is_side_index_cut(int i) const;
|
||||||
|
|
||||||
bool is_the_same(SeamTriangleHelper h);
|
bool is_the_same(SeamTriangleHelper h) const;
|
||||||
|
|
||||||
bool is_triangle(int pi0, int pi1, int pi2);
|
bool is_triangle(int pi0, int pi1, int pi2) const;
|
||||||
bool is_neighbour_to(int index);
|
bool is_neighbour_to(int index) const;
|
||||||
|
|
||||||
bool needs_to_be_cut_near(int index);
|
bool needs_to_be_cut_near(int index) const;
|
||||||
bool has_cut();
|
bool has_cut() const;
|
||||||
bool both_sides_need_cut();
|
bool both_sides_need_cut() const;
|
||||||
|
|
||||||
void setup(int pi0, int pi1, int pi2, int porig_ind, int pindex_index, PoolIntArray seams);
|
void setup(int pi0, int pi1, int pi2, int porig_ind, int pindex_index, PoolIntArray seams);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user