relativistic projections added

This commit is contained in:
Zeno Rogue committed 2022-10-14 00:56:48 +02:00
1 parent 7a6df6f060
commit a7ca4c2902
5 files changed
+137 -6

No files matched your search

+2
View File
@@ -483,6 +483,8 @@ bool behind3(shiftpoint h) {
return lp_apply(inverse_exp(h))[2] < 0;
if(pmodel == mdLiePerspective)
return lp_apply(lie_log(unshift(h)))[2] < 0;
if(pmodel == mdRelPerspective)
return lp_apply(rel_log(h))[2] < 0;
return h[2] < 0;
}