Package se.llbit.chunky.renderer.scene

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


      }

    } else {

      Ray target = state.rayPool.get(ray);
      scene.trace(target);
      int tx = (int) QuickMath.floor(target.x.x + target.d.x * Ray.OFFSET);
      int ty = (int) QuickMath.floor(target.x.y + target.d.y * Ray.OFFSET);
      int tz = (int) QuickMath.floor(target.x.z + target.d.z * Ray.OFFSET);

      // this is intentionally incorrectly indented for readability
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.