Package ca.eandb.jmist.framework

Examples of ca.eandb.jmist.framework.ScatteredRay.transform()


  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.path.PathNode#sample(ca.eandb.jmist.framework.Random)
   */
  public ScatteredRay sample(double ru, double rv, double rj) {
    ScatteredRay sr = inner.sample(ru, rv, rj);
    return sr != null ? sr.transform(localToWorld) : null;
  }

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.path.PathNode#scatter(ca.eandb.jmist.math.Vector3)
   */
 
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.