Skip to content

Commit

Permalink
Fix some typos in the character demo too
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStolk authored and RossNordby committed Feb 5, 2024
1 parent e39d488 commit dd38847
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Demos/Demos/Characters/CharacterControllers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public struct CharacterController
public unsafe class CharacterControllers : IDisposable
{
/// <summary>
/// Gets the simulation to which this set of chracters belongs.
/// Gets the simulation to which this set of characters belongs.
/// </summary>
public Simulation Simulation { get; private set; }
BufferPool pool;
Expand All @@ -99,7 +99,7 @@ public unsafe class CharacterControllers : IDisposable
public int CharacterCount { get { return characters.Count; } }

/// <summary>
/// Creates a character controller systme.
/// Creates a character controller system.
/// </summary>
/// <param name="pool">Pool to allocate resources from.</param>
/// <param name="initialCharacterCapacity">Number of characters to initially allocate space for.</param>
Expand Down
4 changes: 2 additions & 2 deletions Demos/Demos/Characters/CharacterDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd38847

Please sign in to comment.