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 22, 2024
1 parent 98db892 commit b757db7
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
```

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

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

### Converting Vertices and Faces -> Triangles
### Convert Vertices and Faces -> 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
```
### Converting Triangles -> Vertices and Faces
### Convert Triangles -> Vertices and Faces
```c++
using namespace openstl
Expand All @@ -164,7 +164,7 @@ std::vector triangles = {
const auto& [vertices, faces] = convertToVerticesAndFaces(triangles);
```

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

Expand Down

0 comments on commit b757db7

Please sign in to comment.