Move TrueN and OneN properties to T4 templates

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-24 23:56:18 +02:00
1 親 f5c4e6aacd
コミット 97447fbc68
31ファイル変更
+259 -225

検索条件に一致するファイルはありません

-15
ファイルの表示
@@ -7,21 +7,6 @@ namespace ComputeSharp;
/// </summary>
public partial struct Int3
{
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitX => new(1, 0, 0);
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitY => new(0, 1, 0);
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitZ => new(0, 0, 1);
/// <summary>
/// Creates a new <see cref="Int3"/> instance with the specified parameters.
/// </summary>