Added missing vector type operators

このコミットが含まれているのは:
Sergio Pedri committed 2021-02-23 13:15:02 +01:00
1 親 e811276857
コミット e2ee299900
12ファイル変更
+66 -12

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

+8 -2
ファイルの表示
@@ -3978,13 +3978,19 @@ namespace ComputeSharp
/// Casts a <see cref="Int4"/> value to a <see cref="Float4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
public static explicit operator Float4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Float4)})");
public static implicit operator Float4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Float4)})");
/// <summary>
/// Casts a <see cref="Int4"/> value to a <see cref="Double4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
public static explicit operator Double4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Double4)})");
public static implicit operator Double4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Double4)})");
/// <summary>
/// Negates a <see cref="Int4"/> value.
/// </summary>
/// <param name="xyzw">The <see cref="Int4"/> value to negate.</param>
public static Int4 operator -(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.-");
/// <summary>
/// Sums two <see cref="Int4"/> values.