aboutsummaryrefslogtreecommitdiff
path: root/examples2d
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-05-05 16:41:38 +0630
committerGitHub <noreply@github.com>2024-05-05 12:11:38 +0200
commit7375a691e232bb59033980dc09c7179bc16e377f (patch)
tree1713a55a9c8a4199292c4668c950404ba1e033c1 /examples2d
parent1b05b2ebfac63034d3dd14a7a5b9b87c59377529 (diff)
downloadrapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.gz
rapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.bz2
rapier-7375a691e232bb59033980dc09c7179bc16e377f.zip
Fix some typos. (#620)
Diffstat (limited to 'examples2d')
-rw-r--r--examples2d/trimesh2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples2d/trimesh2.rs b/examples2d/trimesh2.rs
index 6a51d18..a295db5 100644
--- a/examples2d/trimesh2.rs
+++ b/examples2d/trimesh2.rs
@@ -41,7 +41,7 @@ pub fn init_world(testbed: &mut Testbed) {
colliders.insert_with_parent(collider, handle, &mut bodies);
/*
- * Create the trimeshes from a tesselated SVG.
+ * Create the trimeshes from a tessellated SVG.
*/
let mut fill_tess = FillTessellator::new();
let opt = usvg::Options::default();
@@ -67,7 +67,7 @@ pub fn init_world(testbed: &mut Testbed) {
&FillOptions::tolerance(0.01),
&mut BuffersBuilder::new(&mut mesh, VertexCtor { prim_id: 0 }),
)
- .expect("Tesselation failed.");
+ .expect("Tessellation failed.");
let angle = transform.get_rotate() as f32;