mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-26 10:34:30 +00:00
all Mobius bands implemented
This commit is contained in:
1 parent
e5ebac156e
commit
f2ee616eab
6 files changed
+135
-34
No files matched your search
+1
-3
@@ -580,8 +580,6 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
|
||||
transmatrix sphereflip; // on the sphere, flip
|
||||
bool playerfound; // has player been found in the last drawing?
|
||||
|
||||
#define eurad crossf
|
||||
|
||||
double q3 = sqrt(double(3));
|
||||
|
||||
bool outofmap(hyperpoint h) {
|
||||
@@ -935,7 +933,7 @@ void drawEuclidean() {
|
||||
}
|
||||
|
||||
if(do_draw(cw.at, Mat)) {
|
||||
drawcell(cw.at, cw.mirrored ? Mat * Mirror : Mat, cw.spin, cw.mirrored);
|
||||
drawcell(cw.at, cw.mirrored ? Mat * spin(-2*M_PI*cw.spin / cw.at->type) * Mirror : Mat, cw.spin, cw.mirrored);
|
||||
for(int x=-1; x<=+1; x++)
|
||||
for(int y=-1; y<=+1; y++) {
|
||||
euspot p(dx+x, dy+y);
|
||||
|
||||
Reference in new issue
Block a user