Skip to content

feat: implement 5D lattice setup for OpenSimplex2F noise - #43

Merged
EndrII merged 1 commit into
mainfrom
task_26
Nov 15, 2026
Merged

EndrII merged 1 commit into
mainfrom
task_26

Conversation

@quasarappmanager

@quasarappmanager quasarappmanager commented Nov 15, 2026 •

Copy link
Copy Markdown

Implements 5D lattice points and initialization for OpenSimplex2F noise generation as per issue #26.

Changes

  • Added setup_lattice_points_5D() function to initialize VERTICES_5D array with 32 vertices
  • Updated OpenSimplex2F_shutdown() to free 5D lattice points
  • Modified OpenSimplex2F() to call setup_lattice_points_5D() after 2D/3D/4D setup

Verification

  • All existing tests pass (test_noise2, test_noise3, test_noise4)
  • Code compiles without warnings using -Wall -Wextra --pedantic -O3
  • Follows the existing pattern from 2D, 3D, and 4D implementations

Closes #26

@EndrII
EndrII merged commit 76b4bf9 into main Nov 15, 2026
9 checks passed
@EndrII
EndrII deleted the task_26 branch November 15, 2026 22:52
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.

Phase 2: 5D Lattice Setup for OpenSimplex2F Noise

2 participants