Skip to content

Commit

Permalink
Fixed misspellings in a few summaries. (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmissile authored Jul 15, 2020
1 parent 50a0009 commit d72c2eb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Source/Core/Duality/Components/Transform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public Vector2 GetLocalVector(Vector2 world)
}

/// <summary>
/// Moves the object by the given local offset. This will be treates as movement, rather than teleportation.
/// Moves the object by the given local offset. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveByLocal(Vector3 value)
Expand All @@ -328,15 +328,15 @@ public void MoveByLocal(Vector3 value)
this.UpdateAbs();
}
/// <summary>
/// Moves the object by the given local offset. This will be treates as movement, rather than teleportation.
/// Moves the object by the given local offset. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveByLocal(Vector2 value)
{
this.MoveByLocal(new Vector3(value));
}
/// <summary>
/// Moves the object by given world offset. This will be treates as movement, rather than teleportation.
/// Moves the object by given world offset. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveBy(Vector3 value)
Expand All @@ -359,15 +359,15 @@ public void MoveBy(Vector3 value)
this.UpdateAbsChild();
}
/// <summary>
/// Moves the object by given world offset. This will be treates as movement, rather than teleportation.
/// Moves the object by given world offset. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveBy(Vector2 value)
{
this.MoveBy(new Vector3(value));
}
/// <summary>
/// Moves the object to the given position in local space of its parent object. This will be treates as movement, rather than teleportation.
/// Moves the object to the given position in local space of its parent object. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveToLocal(Vector3 value)
Expand All @@ -376,15 +376,15 @@ public void MoveToLocal(Vector3 value)
}
/// <summary>
/// Moves the object to the given position in local space of its parent object, leaving the Z coordinate unchanged.
/// This will be treates as movement, rather than teleportation.
/// This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveToLocal(Vector2 value)
{
this.MoveToLocal(new Vector3(value, this.pos.Z));
}
/// <summary>
/// Moves the object to the given world position. This will be treates as movement, rather than teleportation.
/// Moves the object to the given world position. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveTo(Vector3 value)
Expand All @@ -393,15 +393,15 @@ public void MoveTo(Vector3 value)
}
/// <summary>
/// Moves the object to the given world position, leaving the Z coordinate unchanged.
/// This will be treates as movement, rather than teleportation.
/// This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void MoveTo(Vector2 value)
{
this.MoveTo(new Vector3(value, this.posAbs.Z));
}
/// <summary>
/// Turns the object by the given radian angle. This will be treates as movement, rather than teleportation.
/// Turns the object by the given radian angle. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void TurnBy(float value)
Expand All @@ -410,15 +410,15 @@ public void TurnBy(float value)
this.UpdateAbs();
}
/// <summary>
/// Turns the object to the given radian angle in local space of its parent object. This will be treates as movement, rather than teleportation.
/// Turns the object to the given radian angle in local space of its parent object. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void TurnToLocal(float value)
{
this.TurnBy(MathF.TurnDir(this.angle, value) * MathF.CircularDist(value, this.angle));
}
/// <summary>
/// Turns the object to the given world space radian angle. This will be treates as movement, rather than teleportation.
/// Turns the object to the given world space radian angle. This will be treated as movement, rather than teleportation.
/// </summary>
/// <param name="value"></param>
public void TurnTo(float value)
Expand Down

0 comments on commit d72c2eb

Please sign in to comment.