mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 20:38:09 +00:00
reg3:: do not call generate_fulls more than needed
This commit is contained in:
@@ -585,6 +585,8 @@ void geometry_information::prepare_basics() {
|
|||||||
|
|
||||||
heptshape = nullptr;
|
heptshape = nullptr;
|
||||||
|
|
||||||
|
xp_order = 0;
|
||||||
|
|
||||||
if(arcm::in() && !prod)
|
if(arcm::in() && !prod)
|
||||||
ginf[gArchimedean].cclass = gcHyperbolic;
|
ginf[gArchimedean].cclass = gcHyperbolic;
|
||||||
|
|
||||||
|
|||||||
1
reg3.cpp
1
reg3.cpp
@@ -2748,6 +2748,7 @@ EX int matrix_order(const transmatrix A) {
|
|||||||
|
|
||||||
EX void generate_fulls() {
|
EX void generate_fulls() {
|
||||||
reg3::generate_cellrotations();
|
reg3::generate_cellrotations();
|
||||||
|
if(cgi.xp_order) return;
|
||||||
|
|
||||||
auto cons = [&] (int i0, int i1, int i2) {
|
auto cons = [&] (int i0, int i1, int i2) {
|
||||||
transmatrix T = build_matrix(cgi.adjmoves[ 0]*C0, cgi.adjmoves[ 1]*C0, cgi.adjmoves[ 2]*C0, C0);
|
transmatrix T = build_matrix(cgi.adjmoves[ 0]*C0, cgi.adjmoves[ 1]*C0, cgi.adjmoves[ 2]*C0, C0);
|
||||||
|
|||||||
Reference in New Issue
Block a user