Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick authored Feb 25, 2024
1 parent d5d0771 commit 9cef0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main()
for (int32_t j = -SIZE; j < SIZE; ++j) {
float len = (i * i + j * j) * len_ratio;
int32_t pz = (int32_t)((std::sin(len * 10.0 + time) * 0.5 + 0.5) * (std::abs(50.0f - 25.0f * len)) * Z_SCALE);
vdb.addVoxelDensity(i + OFFSET, j + OFFSET, pz, 1.0f); // magicavoxel use the z as up axis
vdb.addVoxelDensity(i + OFFSET, j + OFFSET, pz, 1.0f); // blender3D use the z as up axis
}
}
time += 0.5f;
Expand Down

0 comments on commit 9cef0e5

Please sign in to comment.