Add parentheses for clarity where needed (IDE0048)

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 553c7a4014
コミット ce1097e7d9
47ファイル変更
+222 -198

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

+1 -1
ファイルの表示
@@ -22,7 +22,7 @@ internal readonly partial struct HelloWorld : IPixelShader<float4>
float2 uv = ThreadIds.Normalized.XY;
// Time varying pixel color
float3 col = 0.5f + 0.5f * Hlsl.Cos(time + new float3(uv, uv.X) + new float3(0, 2, 4));
float3 col = 0.5f + (0.5f * Hlsl.Cos(time + new float3(uv, uv.X) + new float3(0, 2, 4)));
// Output to screen
return new(col, 1f);