Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanchristopheruel committed Mar 23, 2024
1 parent b757db7 commit c32fec5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ scale = 1000.0
quad[:,1:4,:] *= scale # Avoid scaling normals
```

### Convert Triangles -> Vertices and Faces
### Convert Triangles :arrow_right: Vertices and Faces
```python
import openstl

Expand All @@ -89,7 +89,7 @@ triangles = [
vertices, faces = openstl.convert.verticesandfaces(triangles)
```

### Convert Vertices and Faces -> Triangles
### Convert Vertices and Faces :arrow_right: Triangles
```python
import openstl

Expand Down Expand Up @@ -151,7 +151,7 @@ std::vector<openstl::Triangle> originalTriangles{}; // User triangles
openstl::serialize(originalTriangles, ss, openstl::StlFormat::Binary); // Or StlFormat::ASCII
```
### Convert Triangles -> Vertices and Faces
### Convert Triangles :arrow_right: Vertices and Faces
```c++
using namespace openstl
Expand All @@ -164,7 +164,7 @@ std::vector triangles = {
const auto& [vertices, faces] = convertToVerticesAndFaces(triangles);
```

### Convert Vertices and Faces -> Triangles
### Convert Vertices and Faces :arrow_right: Triangles
```c++
using namespace openstl

Expand Down

0 comments on commit c32fec5

Please sign in to comment.