api: fix wallobject orientation javadoc and use

This is not an angle, and the model outline renderer code which uses it as one is incorrect.
This commit is contained in:
Adam
2022-01-02 20:24:38 -05:00
parent a8e2e88810
commit 45f744fa2b
2 changed files with 20 additions and 6 deletions

View File

@@ -1131,7 +1131,7 @@ public class ModelOutlineRenderer
{
drawModelOutline(model, lp.getX(), lp.getY(),
Perspective.getTileHeight(client, lp, wallObject.getPlane()),
wallObject.getOrientationA(), outlineWidth, color, feather);
0, outlineWidth, color, feather);
}
}
@@ -1143,7 +1143,7 @@ public class ModelOutlineRenderer
{
drawModelOutline(model, lp.getX(), lp.getY(),
Perspective.getTileHeight(client, lp, wallObject.getPlane()),
wallObject.getOrientationB(), outlineWidth, color, feather);
0, outlineWidth, color, feather);
}
}
}