fix floodfill frame offset

This commit is contained in:
NULL511
2024-05-02 14:18:49 -04:00
parent f33b071152
commit 852d995db0
11 changed files with 40 additions and 53 deletions

View File

@ -197,8 +197,9 @@ void main() {
uint voxelId = blockId;
if (voxelId == 0u) voxelId = 1u;
vec3 origin = playerpos + at_midBlock/64.0;
SetVoxelBlock(origin, voxelId);
vec3 originPos = playerpos + at_midBlock/64.0;
SetVoxelBlock(originPos, voxelId);
}
#endif