Added missing dots
このコミットが含まれているのは:
1 親
e45b712000
コミット
33870886b6
51ファイル変更
+5686
-5686
検索条件に一致するファイルはありません
@@ -18,7 +18,7 @@ namespace System.Numerics
|
||||
public static Span<Vector2> AsVector2Span(this Float2[] array) => Cast<Float2, Vector2>(array);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Float2"/> <see cref="ReadOnlySpan{T}"/> into a <see cref="ReadOnlySpan{T}"/> with items of type <see cref="Vector2"/>
|
||||
/// Converts a <see cref="Float2"/> <see cref="ReadOnlySpan{T}"/> into a <see cref="ReadOnlySpan{T}"/> with items of type <see cref="Vector2"/>.
|
||||
/// </summary>
|
||||
/// <param name="span">The input <see cref="Float2"/> <see cref="ReadOnlySpan{T}"/>.</param>
|
||||
/// <returns>A <see cref="Span{T}"/> with items of type <see cref="Vector2"/>, mapping the original <see cref="ReadOnlySpan{T}"/>.</returns>
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace System.Numerics
|
||||
public static Span<Float2> AsFloat2Span(this Vector2[] array) => Cast<Vector2, Float2>(array);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Vector2"/> <see cref="ReadOnlySpan{T}"/> into a <see cref="ReadOnlySpan{T}"/> with items of type <see cref="Float2"/>
|
||||
/// Converts a <see cref="Vector2"/> <see cref="ReadOnlySpan{T}"/> into a <see cref="ReadOnlySpan{T}"/> with items of type <see cref="Float2"/>.
|
||||
/// </summary>
|
||||
/// <param name="span">The input <see cref="Vector2"/> <see cref="ReadOnlySpan{T}"/>.</param>
|
||||
/// <returns>A <see cref="Span{T}"/> with items of type <see cref="Float2"/>, mapping the original <see cref="ReadOnlySpan{T}"/>.</returns>
|
||||
|
||||
@@ -5,24 +5,24 @@ using System.Runtime.CompilerServices;
|
||||
namespace Windows.Foundation
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Point"/> type
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Point"/> type.
|
||||
/// </summary>
|
||||
public static class PointExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Point"/> value to a <see cref="Vector2"/>
|
||||
/// Converts a <see cref="Point"/> value to a <see cref="Vector2"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Point"/> to convert</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Point"/></returns>
|
||||
/// <param name="value">The input <see cref="Point"/> to convert.</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Point"/>.</returns>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Vector2 ToVector2(this Point value) => new((float)value.X, (float)value.Y);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Point"/>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Point"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert</param>
|
||||
/// <returns>A <see cref="Point"/> value representing the input <see cref="Vector2"/></returns>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert.</param>
|
||||
/// <returns>A <see cref="Point"/> value representing the input <see cref="Vector2"/>.</returns>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Point ToPoint(this Vector2 value) => new(value.X, value.Y);
|
||||
|
||||
@@ -5,26 +5,26 @@ using System.Runtime.CompilerServices;
|
||||
namespace Windows.Foundation
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Rect"/> type
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Rect"/> type.
|
||||
/// </summary>
|
||||
public static class RectExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Rect"/> value to a <see cref="Vector2"/>
|
||||
/// Converts a <see cref="Rect"/> value to a <see cref="Vector2"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Rect"/> to convert</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Rect"/></returns>
|
||||
/// <remarks>The input <see cref="Rect"/> is read in the following order: <see cref="Rect.Left"/>, <see cref="Rect.Top"/>, <see cref="Rect.Right"/>, <see cref="Rect.Bottom"/></remarks>
|
||||
/// <param name="value">The input <see cref="Rect"/> to convert.</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Rect"/>.</returns>
|
||||
/// <remarks>The input <see cref="Rect"/> is read in the following order: <see cref="Rect.Left"/>, <see cref="Rect.Top"/>, <see cref="Rect.Right"/>, <see cref="Rect.Bottom"/>.</remarks>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Vector4 ToVector2(this Rect value) => new((float)value.Left, (float)value.Top, (float)value.Right, (float)value.Bottom);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Rect"/>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Rect"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert</param>
|
||||
/// <returns>A <see cref="Rect"/> value representing the input <see cref="Vector2"/></returns>
|
||||
/// <remarks>The input <see cref="Vector4"/> is assigned in the following order: <see cref="Rect.Left"/>, <see cref="Rect.Top"/>, <see cref="Rect.Right"/>, <see cref="Rect.Bottom"/></remarks>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert.</param>
|
||||
/// <returns>A <see cref="Rect"/> value representing the input <see cref="Vector2"/>.</returns>
|
||||
/// <remarks>The input <see cref="Vector4"/> is assigned in the following order: <see cref="Rect.Left"/>, <see cref="Rect.Top"/>, <see cref="Rect.Right"/>, <see cref="Rect.Bottom"/>.</remarks>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Rect ToPoint(this Vector4 value) => new(value.X, value.Y, value.Z, value.W);
|
||||
|
||||
@@ -5,26 +5,26 @@ using System.Runtime.CompilerServices;
|
||||
namespace Windows.Foundation
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Size"/> type
|
||||
/// A <see langword="class"/> with some extension methods for the <see cref="Size"/> type.
|
||||
/// </summary>
|
||||
public static class SizeExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Size"/> value to a <see cref="Vector2"/>
|
||||
/// Converts a <see cref="Size"/> value to a <see cref="Vector2"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Size"/> to convert</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Size"/></returns>
|
||||
/// <remarks>The input <see cref="Size"/> is read in the following order: <see cref="Size.Width"/>, <see cref="Size.Height"/></remarks>
|
||||
/// <param name="value">The input <see cref="Size"/> to convert.</param>
|
||||
/// <returns>A <see cref="Vector2"/> value representing the input <see cref="Size"/>.</returns>
|
||||
/// <remarks>The input <see cref="Size"/> is read in the following order: <see cref="Size.Width"/>, <see cref="Size.Height"/>.</remarks>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Vector2 ToVector2(this Size value) => new((float)value.Width, (float)value.Height);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Size"/>
|
||||
/// Converts a <see cref="Vector2"/> value to a <see cref="Size"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert</param>
|
||||
/// <returns>A <see cref="Point"/> value representing the input <see cref="Vector2"/></returns>
|
||||
/// <remarks>The input <see cref="Size"/> is assigned in the following order: <see cref="Size.Width"/>, <see cref="Size.Height"/></remarks>
|
||||
/// <param name="value">The input <see cref="Vector2"/> to convert.</param>
|
||||
/// <returns>A <see cref="Point"/> value representing the input <see cref="Vector2"/>.</returns>
|
||||
/// <remarks>The input <see cref="Size"/> is assigned in the following order: <see cref="Size.Width"/>, <see cref="Size.Height"/>.</remarks>
|
||||
[Pure]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Size ToPoint(this Vector2 value) => new(value.X, value.Y);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする