1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-15 02:28:05 +00:00

split namespace conformal into models and history

This commit is contained in:
Zeno Rogue
2019-08-10 00:58:50 +02:00
parent 6ed530c50c
commit 5ea055b39e
25 changed files with 999 additions and 1630 deletions

View File

@@ -378,7 +378,7 @@ void buildTorusRug() {
using namespace torusconfig;
calcparam_rug();
conformal::configure();
models::configure();
struct toruspoint {
int x,y;
@@ -1281,7 +1281,7 @@ void prepareTexture() {
dynamicval<eStereo> d(vid.stereo_mode, sOFF);
calcparam_rug();
conformal::configure();
models::configure();
glbuf->enable();
glbuf->clear(0);
@@ -1788,7 +1788,7 @@ hyperpoint gethyper(ld x, ld y) {
double px = rx1 * TEXTURESIZE, py = (1-ry1) * TEXTURESIZE;
calcparam_rug();
conformal::configure();
models::configure();
hyperpoint h = hr::gethyper(px, py);
calcparam();