1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

scale_at is 1 in sol

This commit is contained in:
Zeno Rogue 2019-07-30 12:59:02 +02:00
parent 1528d63d29
commit 1801fbd048

View File

@ -550,6 +550,7 @@ void dqi_poly::gldraw() {
ld scale_at(const transmatrix& T) {
if(DIM == 3 && pmodel == mdPerspective) return 1 / abs((tC0(T))[2]);
if(sol) return 1;
using namespace hyperpoint_vec;
hyperpoint h1, h2, h3;
applymodel(tC0(T), h1);