public final class SAT extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isColliding(HitBox box1,
HitBox box2,
double angle1,
double angle2)
Note: NOT thread-safe but GC-friendly.
|
public static boolean isColliding(HitBox box1, HitBox box2, double angle1, double angle2)
box1 - hit box 1box2 - hit box 2angle1 - angle of hit box 1angle2 - angle of hit box 2Copyright © 2018. All rights reserved.