Skip to content

Commit 5cd3842

Browse files
authored
Update README.md (fix typo) (#388)
tri*na*gulation -> tri*an*gulation
1 parent b5346fa commit 5cd3842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ You can enable `double(64bit)` precision by using `TINYOBJLOADER_USE_DOUBLE` def
250250
When you enable `triangulation`(default is enabled),
251251
TinyObjLoader triangulate polygons(faces with 4 or more vertices).
252252

253-
Built-in trinagulation code may not work well in some polygon shape.
253+
Built-in triangulation code may not work well in some polygon shape.
254254

255255
You can define `TINYOBJLOADER_USE_MAPBOX_EARCUT` for robust triangulation using `mapbox/earcut.hpp`.
256256
This requires C++11 compiler though. And you need to copy `mapbox/earcut.hpp` to your project.
@@ -260,7 +260,7 @@ If you have your own `mapbox/earcut.hpp` file incuded in your project, you can d
260260

261261
```c++
262262
#define TINYOBJLOADER_IMPLEMENTATION // define this in only *one* .cc
263-
// Optional. define TINYOBJLOADER_USE_MAPBOX_EARCUT gives robust trinagulation. Requires C++11
263+
// Optional. define TINYOBJLOADER_USE_MAPBOX_EARCUT gives robust triangulation. Requires C++11
264264
//#define TINYOBJLOADER_USE_MAPBOX_EARCUT
265265
#include "tiny_obj_loader.h"
266266

@@ -332,7 +332,7 @@ for (size_t s = 0; s < shapes.size(); s++) {
332332

333333
```c++
334334
#define TINYOBJLOADER_IMPLEMENTATION // define this in only *one* .cc
335-
// Optional. define TINYOBJLOADER_USE_MAPBOX_EARCUT gives robust trinagulation. Requires C++11
335+
// Optional. define TINYOBJLOADER_USE_MAPBOX_EARCUT gives robust triangulation. Requires C++11
336336
//#define TINYOBJLOADER_USE_MAPBOX_EARCUT
337337
#include "tiny_obj_loader.h"
338338

0 commit comments

Comments
 (0)