((w.maxPzcor() + w.minPzcor()) / 2.0) * Renderer.WORLD_SCALE);
}
@Override
double[] getTurtleCoords(Turtle turtle, double height) {
Turtle3D t = (Turtle3D) turtle;
double[] coords = new double[]{t.xcor(), t.ycor(), t.zcor()};
coords[0] = world.wrappedObserverX(coords[0]) * Renderer.WORLD_SCALE;
coords[1] = world.wrappedObserverY(coords[1]) * Renderer.WORLD_SCALE;
coords[2] = ((World3D) world).wrappedObserverZ(coords[2]) * Renderer.WORLD_SCALE;
return coords;