public interface IVolume<T extends IVolume<T>> extends IData<T>
| Modifier and Type | Method and Description |
|---|---|
T |
addScale(T bv1,
T bv2,
float t) |
T |
clone() |
IVolume<?> |
concatenate(T other)
Concatenate this volume with other in a new
IVolume object |
float |
distanceToPlane(Plane plane,
boolean min) |
float |
getVolume() |
boolean |
insideFrustum(Frustum frustum) |
T |
interpolate(T bv1,
T bv2,
float t)
Interpolate
current and next and store result in this. |
IntersectTest |
intersectTest(Frustum frustum)
Test the intersection between this
IBoundingVolume and the specified Frustum. |
IntersectTest |
intersectTest(T volume) |
Vec3 |
limitInVolume(Vec3 dst,
Vec3 src)
Limit a point in this volume.
|
T |
subtract(T bv1,
T bv2) |
T |
transform(T volume,
Mat4x4 matrix) |
setT clone()
T transform(T volume, Mat4x4 matrix)
volume - a IBoundingVolumematrix - a Mat4x4IVolume<?> concatenate(T other)
IVolume objectother - a IBoundingVolumeVolumes.concatenate(IVolume, IVolume)T interpolate(T bv1, T bv2, float t)
IInterpolablecurrent and next and store result in this.interpolate in interface IData<T extends IVolume<T>>interpolate in interface IInterpolable<T extends IVolume<T>>bv1 - a IBoundingVolumebv2 - a IBoundingVolumet - value in range [0;1]T addScale(T bv1, T bv2, float t)
bv1 - a IBoundingVolumebv2 - a IBoundingVolumet - T subtract(T bv1, T bv2)
bv1 - a IBoundingVolumebv2 - a IBoundingVolumeVec3 limitInVolume(Vec3 dst, Vec3 src)
src - source pointdst - destination vector to store the resultfloat getVolume()
IBoundable, in unit^3IntersectTest intersectTest(T volume)
volume - another volumeboolean insideFrustum(Frustum frustum)
Frustum.IntersectTest intersectTest(Frustum frustum)
IBoundingVolume and the specified Frustum.VolumeIntersection.Intersect if inside and intersect.VolumeIntersection.Inside if inside but not intersect.VolumeIntersection.Outisde if outside.IntersectTest,
insideFrustum(Frustum)Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com