Skip to content

Commit

Permalink
fix: Bepu, correct minor XML issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eideren committed Dec 14, 2024
1 parent 1106f1e commit e691398
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@ public enum CollisionMask : uint
public static class CollisionLayersExtension
{
/// <summary>
/// Returns whether <see cref="layer"/> can be found in <see cref="mask"/>
/// Returns whether <paramref name="layer"/> can be found in <paramref name="mask"/>
/// </summary>
public static bool IsSet(this CollisionMask mask, CollisionLayer layer)
{
return ((int)mask & (1 << (int)layer)) != 0;
}

/// <summary>
/// Returns whether <see cref="layer"/> can be found in <see cref="mask"/>
/// Returns whether <paramref name="layer"/> can be found in <paramref name="mask"/>
/// </summary>
public static bool IsSetIn(this CollisionLayer layer, CollisionMask mask)
{
return mask.IsSet(layer);
}

/// <summary>
/// Returns a new <see cref="CollisionMask"/> where <see cref="layer"/> is set
/// Returns a new <see cref="CollisionMask"/> where <paramref name="layer"/> is set
/// </summary>
public static CollisionMask ToMask(this CollisionLayer layer)
{
Expand Down

0 comments on commit e691398

Please sign in to comment.