mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-21 10:29:44 +00:00
some work on 3D view
This commit is contained in:
@@ -197,7 +197,7 @@ void precalc() {
|
||||
|
||||
transmatrix xspinpush(ld dir, ld dist) {
|
||||
if(euclid)
|
||||
return eupush(cos(dir) * dist, -sin(dir) * dist);
|
||||
return eupush(cos(dir) * dist, -sin(dir) * dist DC(,0));
|
||||
else
|
||||
return spin(dir) * xpush(dist) * spin(-dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user