Add hit pos raytrace method to context

This commit is contained in:
Brady 2023-06-30 20:38:45 -05:00
parent 4590ba3ff8
commit d32f1b2a16
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,10 @@ public final class NetherPathfinderContext {
throw new IllegalArgumentException("lol");
}
public void raytrace(final int count, final double[] src, final double[] dst, final boolean[] hitsOut, final double[] hitPosOut) {
NetherPathfinder.raytrace(this.context, true, count, src, dst, hitsOut, hitPosOut);
}
public void cancel() {
NetherPathfinder.cancel(this.context);
}