Fixed incorrect members in the Bool2 type

このコミットが含まれているのは:
Sergio Pedri committed 2019-09-18 01:15:33 +02:00
1 親 eb2c9d6141
コミット 73b0ef707b
1ファイル変更
+3 -3
+3 -3
ファイルの表示
@@ -69,7 +69,7 @@ namespace ComputeSharp
/// <summary>
/// Gets or sets the value of the first color component
/// </summary>
public uint R
public bool R
{
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}");
@@ -78,7 +78,7 @@ namespace ComputeSharp
/// <summary>
/// Gets or sets the value of the second color component
/// </summary>
public uint G
public bool G
{
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}");
@@ -88,7 +88,7 @@ namespace ComputeSharp
/// Gets or sets a specific component in the current <see cref="Bool2"/> instance
/// </summary>
/// <param name="i">The index of the component to access</param>
public float this[int i]
public bool this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");