Fix to axonometric projection for objects not centred at y = 0
This commit is contained in:
parent
ce5fad80dd
commit
88c1ae6a24
|
@ -310,7 +310,7 @@ void orthoView::calcCentre()
|
||||||
|
|
||||||
if (axo)
|
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 n_p[3] = {n[0], -n[1], n[2]};
|
||||||
float proj_p[3];
|
float proj_p[3];
|
||||||
float proj_y[3]; // will be the y axis of the projection
|
float proj_y[3]; // will be the y axis of the projection
|
||||||
|
|
Loading…
Reference in New Issue
Block a user