1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 11:14:49 +00:00

added some missing 'override'

This commit is contained in:
Zeno Rogue 2019-05-10 04:02:37 +02:00
parent c435afbe59
commit d9754ec57c
2 changed files with 6 additions and 6 deletions

View File

@ -585,7 +585,7 @@ namespace euclid3 {
build_torus3();
}
heptagon *getOrigin() {
heptagon *getOrigin() override {
return get_at(0);
}
@ -623,7 +623,7 @@ namespace euclid3 {
return h;
}
heptagon *create_step(heptagon *parent, int d) {
heptagon *create_step(heptagon *parent, int d) override {
return build(parent, d, canonicalize(ispacemap[parent] + shifttable[d]));
}
@ -636,7 +636,7 @@ namespace euclid3 {
return res;
}
void draw() {
void draw() override {
dq::visited_by_matrix.clear();
dq::enqueue_by_matrix(viewctr.at, cview());
@ -667,7 +667,7 @@ namespace euclid3 {
return eupush3(v[0], v[1], v[2]);
}
transmatrix relative_matrix(heptagon *h2, heptagon *h1) {
transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
if(twisted) {
coord c1 = ispacemap[h1];
coord c2 = ispacemap[h2];

View File

@ -762,7 +762,7 @@ namespace reg3 {
}
}
void draw() {
void draw() override {
sphereflip = Id;
// for(int i=0; i<S6; i++) queuepoly(ggmatrix(cwt.at), shWall3D[i], 0xFF0000FF);
@ -793,7 +793,7 @@ namespace reg3 {
}
}
transmatrix relative_matrix(heptagon *h2, heptagon *h1) {
transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
auto p1 = reg_gmatrix[h1];
auto p2 = reg_gmatrix[h2];
transmatrix T = Id;