Fix to axonometric projection for objects not centred at y = 0

This commit is contained in:
j-dowsett
2013-11-24 12:09:40 +00:00
parent db78317777
commit 7ee2d974a9

View File

@@ -310,7 +310,7 @@ void orthoView::calcCentre()
if (axo)
{
float p[3] = {cx, cy, cz};
float p[3] = {cx, -cy, cz};
float n_p[3] = {n[0], -n[1], n[2]};
float proj_p[3];
float proj_y[3]; // will be the y axis of the projection