Examples of zcor()


Examples of org.nlogo.api.Turtle3D.zcor()

  }

  @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;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.