Skip to content

Commit 5f8f4a7

Browse files
author
pv
committed
REMOVE chrono
1 parent d605818 commit 5f8f4a7

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/compas_libigl/intersections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from compas.plugins import plugin
33

44
from compas_libigl import _intersections
5+
from compas_libigl._types_std import VectorVectorInt # noqa: F401
56

67

78
@plugin(category="intersections")

src/compas_libigl/parametrisation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from compas.plugins import plugin
33

44
from compas_libigl import _parametrisation
5+
from compas_libigl._types_std import VectorVectorInt # noqa: F401
56

67

78
@plugin(category="trimesh")

src/mapping.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ std::vector<std::vector<int>> map_mesh_cropped(
2222

2323
// Find closest points on the mesh for all pattern vertices
2424
tree.squared_distance(V_uv, F_faces, pattern_uv_eigen, sqrD, I, C);
25-
26-
// Time how long the barycentric mapping takes
27-
auto bary_start = std::chrono::high_resolution_clock::now();
28-
25+
2926
// Map each pattern vertex to 3D using barycentric coordinates
3027
for(int id = 0; id < pattern_uv.rows(); id++)
3128
{

0 commit comments

Comments
 (0)