Skip to content

Commit af02ca0

Browse files
authored
Update README.md
1 parent 809d0d6 commit af02ca0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TriangleMeshDistance
22
Header only, single file, simple and efficient C++ library to compute the signed distance function to a triangle mesh.
33

4-
The distance computation to the triangle collection is accelerated with a sphere bounding volume hierarchy. The signed of the distance is resolved with the method presented in *"Generating Signed Distance Fields From Triangle Meshes"* by Bærentzen, Andreas & Aanæs, Henrik. (2002).
4+
The distance computation to the triangle collection is accelerated with a sphere bounding volume hierarchy. The sign of the distance is resolved with the method presented in *"Generating Signed Distance Fields From Triangle Meshes"* by Bærentzen, Andreas & Aanæs, Henrik. (2002).
55

66
## Example
77
```cpp
@@ -24,7 +24,6 @@ std::cout << "Nearest triangle index: " << result.triangle_id << std::endl;
2424
2525
2626
## What you need to know about TriangleMeshDistance
27-
- `TriangleMeshDistance` keeps a copy of the vertex and triangle data passed as input.
27+
- `TriangleMeshDistance` keeps an internal copy of the vertex and triangle data.
2828
- Additionally, the pseudonormals required to compute signed distances are calculated and stored at building time.
2929
- `TriangleMeshDistance` can be declared empty and constructed multiple times with different meshes. This can potentially reuse memory allocations.
30-
-

0 commit comments

Comments
 (0)