Examples of distanceToOrigin()


Examples of ca.eandb.jmist.math.Point3.distanceToOrigin()

    if (capped) {
      double t = Plane3.XZ.intersect(ray);

      if (recorder.interval().contains(t)) {
        Point3 p = ray.pointAt(t);
        if (p.distanceToOrigin() <= radius) {
          Intersection x = super.newIntersection(ray, t, ray.origin().y() < 0.0, CONE_SURFACE_BASE)
            .setLocation(p);
          recorder.record(x);
        }
      }
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.