mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
fixed twist_zlevel in nil, wrong alpha
This commit is contained in:
parent
b5c20ef1da
commit
4e090ed365
@ -1410,7 +1410,7 @@ void raygen::emit_iterate(int gid1) {
|
||||
else if(mtwisted) {
|
||||
fmain += "pos = twist_coordinates(pos, sides-2, which);\n";
|
||||
string spinner = "h = cspin(0, 1, PI) * h;\n";
|
||||
string calc_dxy = nil ? "dx = h.x; dy = h.y;\n" : sl2 ?
|
||||
string calc_dxy = nil ? "dx = h.x; dy = -h.y;\n" : sl2 ?
|
||||
"dx = -2. * (h.y*h.z - h.x*h.w);\n"
|
||||
"dy = -2. * (h.x*h.z + h.y*h.w);\n" :
|
||||
"dx = +2. * (h.x*h.z + h.y*h.w);\n"
|
||||
|
Loading…
Reference in New Issue
Block a user