public interface Ray3DType
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
direction() |
default com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
directionInverse() |
default boolean |
intersectsVolume(double x0,
double y0,
double z0,
double x1,
double y1,
double z1)
Branchless optimization of the Kay-Kajiya slab ray/AABB intersection
test by Tavian Barnes.
|
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
origin() |
com.io7m.jtensors.core.unparameterized.vectors.Vector3D origin()
com.io7m.jtensors.core.unparameterized.vectors.Vector3D direction()
default com.io7m.jtensors.core.unparameterized.vectors.Vector3D directionInverse()
default boolean intersectsVolume(double x0,
double y0,
double z0,
double x1,
double y1,
double z1)
Branchless optimization of the Kay-Kajiya slab ray/AABB intersection test by Tavian Barnes.
See tavianator.com.
x0 - The lower X coordinate.x1 - The upper X coordinate.y0 - The lower Y coordinate.y1 - The upper Y coordinate.z0 - The lower Z coordinate.z1 - The upper Z coordinate.true if the ray is intersecting the box.Copyright © 2017 <code@io7m.com> http://io7m.com