More minor code style tweaks (remove extra blank lines, etc.)
このコミットが含まれているのは:
1 親
8be9203a1c
コミット
f2ed8a2d3b
22ファイル変更
+39
-38
検索条件に一致するファイルはありません
-1
@@ -105,7 +105,6 @@ public abstract class NativeLibrariesResolverTestsBase
|
||||
Assert.AreEqual(0, Exec(pathToAppHostDirectory, $"{SampleProjectName}.exe", ""));
|
||||
}
|
||||
|
||||
|
||||
[TestMethod]
|
||||
[DataRow(PublishMode.SelfContained, DeploymentMode.Multiassembly, NativeLibrariesDeploymentMode.NotApplicable)]
|
||||
[DataRow(PublishMode.FrameworkDependent, DeploymentMode.Multiassembly, NativeLibrariesDeploymentMode.NotApplicable)]
|
||||
|
||||
@@ -151,7 +151,6 @@ internal readonly partial struct ExtrudedTruchetPattern : IComputeShader
|
||||
return Hlsl.Max(shade, 0.0f);
|
||||
}
|
||||
|
||||
|
||||
// I keep a collection of occlusion routines... OK, that sounded really nerdy. :)
|
||||
// Anyway, I like this one. I'm assuHlsl.Ming it's based on IQ's original.
|
||||
private float CalculateAO(in float3 p, in float3 n)
|
||||
|
||||
@@ -76,7 +76,6 @@ internal readonly partial struct FourColorGradient : IComputeShader
|
||||
return 0.5f + 0.5f * n;
|
||||
}
|
||||
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void Execute()
|
||||
{
|
||||
|
||||
@@ -85,7 +85,9 @@ internal readonly partial struct MengerJourney : IComputeShader
|
||||
z = Hlsl.Abs(z);
|
||||
|
||||
if (z.X < z.Y) { z.XY = z.YX; }
|
||||
|
||||
if (z.X < z.Z) { z.XZ = z.ZX; }
|
||||
|
||||
if (z.Y < z.Z) { z.YZ = z.ZY; }
|
||||
|
||||
z = Scale * z - Offset * (Scale - 1.0f);
|
||||
|
||||
@@ -101,7 +101,6 @@ internal readonly partial struct PyramidPattern : IComputeShader
|
||||
return 1.0f - Hlsl.Max(p.X, p.Y);
|
||||
}
|
||||
|
||||
|
||||
// Standard function-based bump mapping function, with an edge value included for good measure
|
||||
private float3 DoBumpMap(in float2 p, in float3 n, float bumpfactor, ref float edge)
|
||||
{
|
||||
@@ -123,7 +122,6 @@ internal readonly partial struct PyramidPattern : IComputeShader
|
||||
return Hlsl.Normalize(n + grad * bumpfactor);
|
||||
}
|
||||
|
||||
|
||||
// A hatch-like algorithm, or a stipple... or some kind of textured pattern
|
||||
private float DoHatch(float2 p, float res)
|
||||
{
|
||||
|
||||
@@ -64,7 +64,6 @@ internal readonly partial struct TriangleGridContouring : IComputeShader
|
||||
return Hlsl.Lerp(Hlsl.Lerp(v.X, v.Y, p.X), Hlsl.Lerp(v.Z, v.W, p.X), p.Y);
|
||||
}
|
||||
|
||||
|
||||
// The isofunction. Just a Hlsl.Single noise function, but it can be more elaborate.
|
||||
private float IsoFunction(in float2 p)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする