Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.chimpro.london.collisiondetection;
- import org.lwjgl.util.vector.Vector3f;
- import com.chimpro.london.entity.Entity;
- public class AABB {
- public Vector3f min = new Vector3f(),max = new Vector3f();
- public AABB(Entity entity) {
- min = entity.getModel().getMin();
- max = entity.getModel().getMax();
- }
- public Vector3f getMin() {
- return min;
- }
- public Vector3f getMax() {
- return max;
- }
- public boolean overlapps(AABB other) {
- return false;
- }
- }
Add Comment
Please, Sign In to add comment