mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 11:14:49 +00:00
fixed reset
This commit is contained in:
parent
dd01cd9af4
commit
2d5bfc7b5a
@ -587,6 +587,8 @@ EX bool is_reg3_variation(eVariation var) {
|
|||||||
|
|
||||||
void geometry_information::prepare_lta() {
|
void geometry_information::prepare_lta() {
|
||||||
auto& lta = logical_to_actual;
|
auto& lta = logical_to_actual;
|
||||||
|
bool b = geom3::flipped;
|
||||||
|
if(b) geom3::light_flip(false);
|
||||||
lta = Id;
|
lta = Id;
|
||||||
if(embedded_plane) {
|
if(embedded_plane) {
|
||||||
if(geom3::euc_in_noniso()) {
|
if(geom3::euc_in_noniso()) {
|
||||||
@ -598,6 +600,7 @@ void geometry_information::prepare_lta() {
|
|||||||
if(geom3::hyp_in_solnih()) lta = cspin90(0, 1) * cspin90(1, 2) * cspin90(0, 1) * lta;
|
if(geom3::hyp_in_solnih()) lta = cspin90(0, 1) * cspin90(1, 2) * cspin90(0, 1) * lta;
|
||||||
}
|
}
|
||||||
actual_to_logical = inverse(lta);
|
actual_to_logical = inverse(lta);
|
||||||
|
if(b) geom3::light_flip(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void geometry_information::prepare_basics() {
|
void geometry_information::prepare_basics() {
|
||||||
|
Loading…
Reference in New Issue
Block a user