Fixed accessors for static properties of vector types
このコミットが含まれているのは:
1 親
9ddb20565f
コミット
035658cdbe
13ファイル変更
+64
-64
検索条件に一致するファイルはありません
@@ -12,22 +12,22 @@ namespace ComputeSharp
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with all components set to 0
|
||||
/// </summary>
|
||||
public static Int2 Zero { get; } = 0;
|
||||
public static Int2 Zero => 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with all components set to 1
|
||||
/// </summary>
|
||||
public static Int2 One { get; } = 1;
|
||||
public static Int2 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="X"/> component set to 1, and the others to 0
|
||||
/// </summary>
|
||||
public static Int2 UnitX { get; } = new Int2(1, 0);
|
||||
public static Int2 UnitX => new Int2(1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="Y"/> component set to 1, and the others to 0
|
||||
/// </summary>
|
||||
public static Int2 UnitY { get; } = new Int2(0, 1);
|
||||
public static Int2 UnitY => new Int2(0, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2"/> instance with the specified parameters
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする