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:
6
rug.cpp
6
rug.cpp
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user