Package ca.eandb.jmist.framework

Examples of ca.eandb.jmist.framework.VisibilityFunction3.visibility()


  public static boolean visibility(PathNode a, PathNode b) {
    Ray3 ray = Ray3.create(a.getPosition(), b.getPosition());
    if (ray != null) {
      PathInfo path = a.getPathInfo();
      VisibilityFunction3 vf = path.getScene().getRoot();
      return vf.visibility(ray);
    } else { // ray == null
      return false;
    }
  }
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.