summaryrefslogtreecommitdiff
path: root/src/modules/julia
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-09-04 23:51:46 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-09-04 23:51:46 -0700
commit12d449822ee41d447c09bcc44d05aa0bbe8aa2a1 (patch)
tree1d82c58589127db1abdc5938037e0455ddc48a6e /src/modules/julia
parent6d6c14180096fc4417aeecd489146e0f6fe6f721 (diff)
modules/flow: restore previous Z depth
While optimizing the threaded rendering in commit 6d6c141, the pos.{xy} expanding from 0-1 to -1..+1 were eliminated from the inner loops in favor of just having the positions always in -1..+1 coordinates. But I missed that it was only the x/y coordinates which were being expanded, with .z being left in the 0-1 space, which had a desirable aesthetic effect of condensing the Z space, flattening everything. This commit undoes that, without reintroducing the expansion to the inner loops. It's a bit crufty because now .z is treated exceptionally throughout as 0..1 while {.x,.y} are in -1..+1, but it's fine for now.
Diffstat (limited to 'src/modules/julia')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved