Examples of quickTrace()


Examples of se.llbit.chunky.renderer.scene.Scene.quickTrace()

      cam.calcViewRay(ray, random,
          (-halfWidth + (double)x / height),
          (-.5 + (double)y / height));

      scene.quickTrace(state);

      // do target highlighting
      int rx = (int) QuickMath.floor(ray.x.x + ray.d.x * Ray.OFFSET);
      int ry = (int) QuickMath.floor(ray.x.y + ray.d.y * Ray.OFFSET);
      int rz = (int) QuickMath.floor(ray.x.z + ray.d.z * Ray.OFFSET);
 
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.