Package org.nlogo.api

Examples of org.nlogo.api.Perspective


    //

    gl.glLoadIdentity();

    synchronized (world) {
      Perspective perspective = world.observer().perspective();
      Agent targetAgent = world.observer().targetAgent();

      worldRenderer.observePerspective(gl);

      worldRenderer.renderCrossHairs(gl);
View Full Code Here


  * Calculates the line scale to use for rendering outlined turtles and links.
  */
  double calculateLineScale() {
    double distance;

    Perspective p = world.observer().perspective();

    if (p == PerspectiveJ.FOLLOW() || p == PerspectiveJ.RIDE()) {
      distance = world.observer().followDistance();
    } else {
      distance = world.observer().dist();
View Full Code Here

TOP

Related Classes of org.nlogo.api.Perspective

Copyright © 2018 www.massapicom. 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.