Skip to content

Commit

Permalink
Merge pull request #4 from andystanton/fbm_warp
Browse files Browse the repository at this point in the history
Add padding back in metal params
  • Loading branch information
andystanton authored Jun 13, 2024
2 parents a92e766 + 680e309 commit 6a88bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ public class FractalNoiseMetalShaderLoader {
float coordinateScale;
FractalNoiseMetalType noiseType;
int pad0;
FractalNoiseMetalTypeParameters noiseTypeParameters;
};
Expand Down
2 changes: 1 addition & 1 deletion Tests/SPMFractalNoiseTests/SPMFractalNoiseTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class SPMFractalNoiseTests: XCTestCase {
startingAmplitude: 1,
startingFrequency: 0.0025,
coordinateScale: 0.5,
warpIterations: 4,
warpIterations: 3,
warpScale: 200)

var outputString = "P2\n\(imageSize) \(imageSize)\n255\n"
Expand Down

0 comments on commit 6a88bb4

Please sign in to comment.