Move TrueN and OneN properties to T4 templates
このコミットが含まれているのは:
1 親
f5c4e6aacd
コミット
97447fbc68
31ファイル変更
+259
-225
検索条件に一致するファイルはありません
@@ -47,6 +47,16 @@ public unsafe partial struct Int2
|
||||
/// </summary>
|
||||
public static Int2 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the <see cref="X"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static Int2 UnitX => new(1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static Int2 UnitY => new(0, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする