Skip to content

Instantly share code, notes, and snippets.

View Jikoo's full-sized avatar
🚚
Always Be Shipping

Adam Jikoo

🚚
Always Be Shipping
View GitHub Profile
@aadnk
aadnk / AABB.java
Created October 23, 2013 18:25
A simple AABB intersection algorithm for Bukkit. Returns the intersection point as well.
/**
* Represents an axix-aligned bounding box.
*
* @author Kristian
*/
public class AABB {
public static class Vec3D {
/**
* Point with the coordinate (1, 1, 1).
*/