Skip to content

Commit 59e9c71

Browse files
committed
Bugfix: 3d points not getting transformed
1 parent bce2c17 commit 59e9c71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/babai/ssplot/math/plot/Plotter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private void plotOthers(PlotData pdata) {
179179
private Point2D.Double getPoint3D(double[] row, ArrayList<Integer> dataCols, Project2D projector,
180180
int i, int j, int k)
181181
{
182-
return projector.project(row[dataCols.get(i)], row[dataCols.get(j)], row[dataCols.get(k)]);
182+
return canv.getTransformedPoint(projector.project(row[dataCols.get(i)], row[dataCols.get(j)], row[dataCols.get(k)]));
183183
}
184184

185185
private Point2D.Double getPoint2D(double[] row, ArrayList<Integer> dataCols, int c1, int c2) {

0 commit comments

Comments
 (0)