used EX for space_to_perspective

This commit is contained in:
Zeno Rogue committed 2019-10-05 12:34:36 +02:00
1 parent cfc36c7bda
commit a48aea7b8e
1 file changed
+1 -3
+1 -3
View File
@@ -72,9 +72,7 @@ hyperpoint perspective_to_space(hyperpoint h, ld alpha, eGeometryClass gc) {
return H;
}
hyperpoint space_to_perspective(hyperpoint z, ld alpha = vid.alpha);
hyperpoint space_to_perspective(hyperpoint z, ld alpha) {
EX hyperpoint space_to_perspective(hyperpoint z, ld alpha IS(vid.alpha)) {
ld s = 1 / (alpha + z[LDIM]);
z[0] *= s;
z[1] *= s;