rogueviz:: smoothcam:: fixed e2xe

This commit is contained in:
Zeno Rogue committed 2024-08-21 19:27:12 +02:00
1 parent 2e9a613389
commit 80bfed25fe
1 file changed
+2 -1
+2 -1
View File
@@ -515,7 +515,8 @@ void prepare_for_interpolation(hyperpoint& h) {
void after_interpolation(hyperpoint& h) {
if(gproduct) {
ld v = exp(h[3]) / sqrt(abs(intval(h, Hypc)));
ld v = exp(h[3]);
if(!in_e2xe()) v /= sqrt(abs(intval(h, Hypc)));
h[0] *= v;
h[1] *= v;
h[2] *= v;