Fixed accessors for static properties of vector types

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-29 02:13:56 +02:00
1 親 9ddb20565f
コミット 035658cdbe
13ファイル変更
+64 -64

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

+4 -4
ファイルの表示
@@ -12,22 +12,22 @@ namespace ComputeSharp
/// <summary>
/// Gets an <see cref="Bool2"/> value with all components set to <see langword="false"/>
/// </summary>
public static Bool2 False { get; } = new Bool2(false, false);
public static Bool2 False => new Bool2(false, false);
/// <summary>
/// Gets an <see cref="Bool2"/> value with all components set to <see langword="true"/>
/// </summary>
public static Bool2 True { get; } = new Bool2(true, true);
public static Bool2 True => new Bool2(true, true);
/// <summary>
/// Gets an <see cref="Bool2"/> value with the <see cref="X"/> component set to <see langword="true"/>, and the others to <see langword="false"/>
/// </summary>
public static Bool2 TrueX { get; } = new Bool2(true, false);
public static Bool2 TrueX => new Bool2(true, false);
/// <summary>
/// Gets an <see cref="Bool2"/> value with the <see cref="Y"/> component set to <see langword="true"/>, and the others to <see langword="false"/>
/// </summary>
public static Bool2 TrueY { get; } = new Bool2(false, true);
public static Bool2 TrueY => new Bool2(false, true);
/// <summary>
/// Creates a new <see cref="Bool2"/> instance with the specified parameters