Skip to content

[Zig] fix compile error, domain warp amp usage#163

Open
wilba wants to merge 2 commits into
Auburn:masterfrom
wilba:domain_warp_fix
Open

[Zig] fix compile error, domain warp amp usage#163
wilba wants to merge 2 commits into
Auburn:masterfrom
wilba:domain_warp_fix

Conversation

@wilba
Copy link
Copy Markdown

@wilba wilba commented Aug 29, 2025

  1. Fix compile error, use of const instead of var for variables that are modified.
  2. Fix applying fractal bounding to domain warp amplitude when the fractal type is .none. Note this matches the behavior if either octaves is zero or gain is zero, which would calculate fractal bounding of 1.0 and thus not change domain warp amplitude.
  3. Fix calculateFractalBounding(), loop starts at 1 in the C implementation.

Tagging @ForeverZer0 who did the Zig port in case they are interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant