Package com.ardorcraft.collision
Class Tracer
java.lang.Object
com.ardorcraft.collision.Tracer
Ray tracing for a block world.
-
Constructor Summary
ConstructorDescriptionTracer
(BlockProvider provider) Tracer
(BlockProvider provider, HitTester hitTester) Tracer
(BlockProvider provider, HitTester hitTester, int maxHeight) -
Method Summary
Modifier and TypeMethodDescriptionvoid
traceCollision
(ReadOnlyVector3 curpos, ReadOnlyVector3 raydir, int iterations, IntersectionResult result)
-
Constructor Details
-
Tracer
-
Tracer
-
Tracer
-
-
Method Details
-
traceCollision
public void traceCollision(ReadOnlyVector3 curpos, ReadOnlyVector3 raydir, int iterations, IntersectionResult result)
-