1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-09 23:25:43 +00:00

fix: rename DebugEx to DebugUtility

Prevents .NET analysers from throwing errors.
This commit is contained in:
Oliver Booth 2023-04-02 03:10:36 +01:00
parent 08a4df0c64
commit bc3dedfa7d
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
12 changed files with 12 additions and 12 deletions

View File

@ -89,7 +89,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- X10D: Added `Vector4.Deconstruct()`. - X10D: Added `Vector4.Deconstruct()`.
- X10D: Added `Vector4.Round([float])`. - X10D: Added `Vector4.Round([float])`.
- X10D: `ComplexSqrt` is now exposed for all frameworks. - X10D: `ComplexSqrt` is now exposed for all frameworks.
- X10D.Unity: Added `DebugEx`, which mimics `UnityEngine.Debug` while offering more useful primitive drawing methods. - X10D.Unity: Added `DebugUtility`, which mimics `UnityEngine.Debug` while offering more useful primitive drawing methods.
- X10D.Unity: Added `System.Drawing.Color.ToUnityColor()`. - X10D.Unity: Added `System.Drawing.Color.ToUnityColor()`.
- X10D.Unity: Added `System.Drawing.Color.ToUnityColor32()`. - X10D.Unity: Added `System.Drawing.Color.ToUnityColor32()`.
- X10D.Unity: Added `Color.Deconstruct()` - with optional alpha parameter. - X10D.Unity: Added `Color.Deconstruct()` - with optional alpha parameter.

View File

@ -1,2 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=src_005Cdebugex/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=src_005Cdebugutility/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@ -6,7 +6,7 @@ using Quaternion = System.Numerics.Quaternion;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a circle with the specified color. /// Draws a circle with the specified color.

View File

@ -3,7 +3,7 @@ using X10D.Drawing;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws an ellipse with the specified color. /// Draws an ellipse with the specified color.

View File

@ -5,7 +5,7 @@ using X10D.Unity.Numerics;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a line between start and end points. /// Draws a line between start and end points.

View File

@ -5,7 +5,7 @@ using PointF = System.Drawing.PointF;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a polygon. /// Draws a polygon.

View File

@ -4,7 +4,7 @@ using X10D.Unity.Numerics;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a polyhedron. /// Draws a polyhedron.

View File

@ -2,7 +2,7 @@
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a ray. /// Draws a ray.

View File

@ -5,7 +5,7 @@ using Color = UnityEngine.Color;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a rectangle. /// Draws a rectangle.

View File

@ -4,7 +4,7 @@ using X10D.Unity.Numerics;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws a sphere with the specified color. /// Draws a sphere with the specified color.

View File

@ -4,7 +4,7 @@ using X10D.Unity.Numerics;
namespace X10D.Unity; namespace X10D.Unity;
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// Draws an axis-aligned bounding box. /// Draws an axis-aligned bounding box.

View File

@ -11,7 +11,7 @@ namespace X10D.Unity;
/// An extended version of Unity's <see cref="UnityEngine.Debug" /> utility class which offers support for drawing simple /// An extended version of Unity's <see cref="UnityEngine.Debug" /> utility class which offers support for drawing simple
/// primitives. /// primitives.
/// </summary> /// </summary>
public static partial class DebugEx public static partial class DebugUtility
{ {
/// <summary> /// <summary>
/// The default value to use for the <c>duration</c> parameter. /// The default value to use for the <c>duration</c> parameter.