Skip to content

Commit

Permalink
[Graphics] Minor fix to use correct field for for-loop bounds check
Browse files Browse the repository at this point in the history
[Mathematics] Minor typo fix
  • Loading branch information
Basewq authored and xen2 committed Apr 4, 2020
1 parent 54a7a59 commit 5c2a6cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/core/Xenko.Core.Mathematics/BoundingSphere.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public struct BoundingSphere : IEquatable<BoundingSphere>, IFormattable
public Vector3 Center;

/// <summary>
/// The radious of the sphere.
/// The radius of the sphere.
/// </summary>
public float Radius;

Expand Down
2 changes: 1 addition & 1 deletion sources/engine/Xenko.Graphics/CommandList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void ClearState()

// Setup empty scissors
scissorsDirty = true;
for (int i = 0; i < viewports.Length; i++)
for (int i = 0; i < scissors.Length; i++)
scissors[i] = new Rectangle();

// Setup the default render target
Expand Down

0 comments on commit 5c2a6cc

Please sign in to comment.