solv:: lazy version of inv_exp

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:10 +02:00
1 parent 8ba99c42a0
commit b898365d68
3 files changed
+15 -10

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
}
case mdSolPerspective: {
auto S = solv::inverse_exp(H);
auto S = solv::inverse_exp(H, false);
ld ratio = vid.xres / current_display->tanfov / current_display->radius / 2;
ret[0] = S[0]/S[2] * ratio;
ret[1] = S[1]/S[2] * ratio;