From dd38847840b6a4bbe402c5c942c6d594c08d0e0f Mon Sep 17 00:00:00 2001 From: Noah Stolk <31079637+NoahStolk@users.noreply.github.com> Date: Sun, 4 Feb 2024 11:27:41 +0100 Subject: [PATCH] Fix some typos in the character demo too --- Demos/Demos/Characters/CharacterControllers.cs | 4 ++-- Demos/Demos/Characters/CharacterDemo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Demos/Demos/Characters/CharacterControllers.cs b/Demos/Demos/Characters/CharacterControllers.cs index 05eab0f2..c08a7dd8 100644 --- a/Demos/Demos/Characters/CharacterControllers.cs +++ b/Demos/Demos/Characters/CharacterControllers.cs @@ -85,7 +85,7 @@ public struct CharacterController public unsafe class CharacterControllers : IDisposable { /// - /// Gets the simulation to which this set of chracters belongs. + /// Gets the simulation to which this set of characters belongs. /// public Simulation Simulation { get; private set; } BufferPool pool; @@ -99,7 +99,7 @@ public unsafe class CharacterControllers : IDisposable public int CharacterCount { get { return characters.Count; } } /// - /// Creates a character controller systme. + /// Creates a character controller system. /// /// Pool to allocate resources from. /// Number of characters to initially allocate space for. diff --git a/Demos/Demos/Characters/CharacterDemo.cs b/Demos/Demos/Characters/CharacterDemo.cs index b5729d38..97340d02 100644 --- a/Demos/Demos/Characters/CharacterDemo.cs +++ b/Demos/Demos/Characters/CharacterDemo.cs @@ -135,10 +135,10 @@ public override void Initialize(ContentArchive content, Camera camera) pose.Orientation = Quaternion.Identity; return pose; }; - var platormShapeIndex = Simulation.Shapes.Add(new Box(5, 1, 5)); + var platformShapeIndex = Simulation.Shapes.Add(new Box(5, 1, 5)); for (int i = 0; i < movingPlatforms.Length; ++i) { - movingPlatforms[i] = new MovingPlatform(platormShapeIndex, i * 3559, 1f / 60f, Simulation, poseCreator); + movingPlatforms[i] = new MovingPlatform(platformShapeIndex, i * 3559, 1f / 60f, Simulation, poseCreator); } var box = new Box(4, 1, 4); var boxShapeIndex = Simulation.Shapes.Add(box);