Skip to content

Commit bf5a145

Browse files
Trevor Blackhollasch
authored andcommitted
Fixes pexm_z as perm_z. Resolves #196
1 parent 0d5d098 commit bf5a145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@
11041104
c[di][dj][dk] = ranfloat[
11051105
perm_x[(i+di) & 255] ^
11061106
perm_y[(j+dj) & 255] ^
1107-
pexm_z[(k+dk) & 255]
1107+
perm_z[(k+dk) & 255]
11081108
];
11091109
return trilinear_interp(c, u, v, w);
11101110
}

0 commit comments

Comments
 (0)