Skip to content

[codex] Add voxel sphere primitive#27

Merged
wow-miley merged 1 commit into
mainfrom
miley/pho-11-voxel-sphere-construction-primitive-v1
May 24, 2026
Merged

[codex] Add voxel sphere primitive#27
wow-miley merged 1 commit into
mainfrom
miley/pho-11-voxel-sphere-construction-primitive-v1

Conversation

@wow-miley
Copy link
Copy Markdown
Contributor

Summary

Adds VoxelSphere and Voxel as deterministic core field geometry for PHO-11, including precomputed normalized position, direction, spherical coordinates, distance, jitter, count, rebuild, and world scale.
Adds Vector3.rotatedBy so voxel camera-facing checks can rotate directions using the existing 3D math conventions.
Adds common tests for voxel count, normalized bounds, deterministic rebuilds and jitter, world scale, facing-camera behavior, and vector rotation.

Validation

Ran ./gradlew ktlintFormat, ./gradlew jvmTest, and ./gradlew iosSimulatorArm64Test.

@wow-miley wow-miley marked this pull request as ready for review May 24, 2026 21:54
@wow-miley wow-miley merged commit 8402ca1 into main May 24, 2026
3 checks passed
@wow-miley wow-miley deleted the miley/pho-11-voxel-sphere-construction-primitive-v1 branch May 24, 2026 21:54
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