public class BoundingBox extends Object
| Constructor and Description |
|---|
BoundingBox(com.flowpowered.math.vector.Vector3f min,
com.flowpowered.math.vector.Vector3f max) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BoundingBox |
grow(float val) |
BoundingBox |
grow(float x,
float y,
float z) |
int |
hashCode() |
boolean |
intersectsWith(BoundingBox bb) |
boolean |
isWithin(com.flowpowered.math.vector.Vector3f vector) |
boolean |
isWithin(com.flowpowered.math.vector.Vector3i vector) |
BoundingBox |
offset(float x,
float y,
float z) |
BoundingBox |
shrink(float val) |
BoundingBox |
shrink(float x,
float y,
float z) |
String |
toString() |
public BoundingBox(com.flowpowered.math.vector.Vector3f min,
com.flowpowered.math.vector.Vector3f max)
public boolean isWithin(com.flowpowered.math.vector.Vector3i vector)
public boolean isWithin(com.flowpowered.math.vector.Vector3f vector)
public boolean intersectsWith(BoundingBox bb)
public BoundingBox grow(float x, float y, float z)
public BoundingBox grow(float val)
public BoundingBox offset(float x, float y, float z)
public BoundingBox shrink(float x, float y, float z)
public BoundingBox shrink(float val)
Copyright © 2017–2019 NukkitX. All rights reserved.