Remove unnecessary APIs
このコミットが含まれているのは:
1 親
f2c7ebdcff
コミット
c84b65fa70
2ファイル変更
+2
-23
検索条件に一致するファイルはありません
@@ -8,7 +8,7 @@ namespace ComputeSharp.D2D1.Shaders.Interop.Helpers;
|
||||
/// <summary>
|
||||
/// A 64-bit version of the <see cref="Point"/> type.
|
||||
/// </summary>
|
||||
internal struct Point64 : IEquatable<Point64>
|
||||
internal struct Point64
|
||||
{
|
||||
/// <summary>
|
||||
/// The left coordinate of the current point.
|
||||
@@ -78,10 +78,4 @@ internal struct Point64 : IEquatable<Point64>
|
||||
this.x = (long)Math.Round(this.x * matrix.M11 + this.y * matrix.M21 + matrix.M31);
|
||||
this.y = (long)Math.Round(this.x * matrix.M12 + this.y * matrix.M22 + matrix.M32);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public readonly bool Equals(Point64 other)
|
||||
{
|
||||
return this.x == other.x && this.y == other.y;
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.D2D1.Shaders.Interop.Helpers;
|
||||
/// <summary>
|
||||
/// A 64-bit version of the <see cref="Rectangle"/> type.
|
||||
/// </summary>
|
||||
internal struct Rectangle64 : IEquatable<Rectangle64>
|
||||
internal struct Rectangle64
|
||||
{
|
||||
/// <summary>
|
||||
/// The left coordinate of the current rectangle.
|
||||
@@ -80,15 +80,6 @@ internal struct Rectangle64 : IEquatable<Rectangle64>
|
||||
get => this.y + this.height;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether the current instance represents an empty rectangle.
|
||||
/// </summary>
|
||||
public bool IsEmpty
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get => this.x == long.MaxValue && this.y == long.MaxValue && this.width == long.MinValue && this.height == long.MinValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Rectangle64"/> instance representing an empty rectangle.
|
||||
/// </summary>
|
||||
@@ -158,12 +149,6 @@ internal struct Rectangle64 : IEquatable<Rectangle64>
|
||||
return new((int)this.x, (int)this.y, (int)this.width, (int)this.height);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public readonly bool Equals(Rectangle64 other)
|
||||
{
|
||||
return this.x == other.x && this.y == other.y && this.width == other.width && this.height == other.height;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Rectangle64"/> instance from an input <see cref="Rectangle"/> value.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする