Skip to content

Commit 9cef0e5

Browse files
authoredFeb 25, 2024
Update README.md
1 parent d5d0771 commit 9cef0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int main()
2828
for (int32_t j = -SIZE; j < SIZE; ++j) {
2929
float len = (i * i + j * j) * len_ratio;
3030
int32_t pz = (int32_t)((std::sin(len * 10.0 + time) * 0.5 + 0.5) * (std::abs(50.0f - 25.0f * len)) * Z_SCALE);
31-
vdb.addVoxelDensity(i + OFFSET, j + OFFSET, pz, 1.0f); // magicavoxel use the z as up axis
31+
vdb.addVoxelDensity(i + OFFSET, j + OFFSET, pz, 1.0f); // blender3D use the z as up axis
3232
}
3333
}
3434
time += 0.5f;

0 commit comments

Comments
 (0)