mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 06:45:59 +00:00
adjusted RogueViz to use the new 3D functions
This commit is contained in:
@@ -423,7 +423,7 @@ void show() {
|
||||
}
|
||||
|
||||
void prepare_for_interpolation(hyperpoint& h) {
|
||||
if(prod) {
|
||||
if(gproduct) {
|
||||
h[3] = zlevel(h);
|
||||
ld t = exp(h[3]);
|
||||
h[0] /= t;
|
||||
@@ -433,7 +433,7 @@ void prepare_for_interpolation(hyperpoint& h) {
|
||||
}
|
||||
|
||||
void after_interpolation(hyperpoint& h) {
|
||||
if(prod) {
|
||||
if(gproduct) {
|
||||
ld v = exp(h[3]) / sqrt(abs(intval(h, Hypc)));
|
||||
h[0] *= v;
|
||||
h[1] *= v;
|
||||
|
Reference in New Issue
Block a user