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
IVolume and the specified Frustum. |
IntersectTest |
intersectTest(Plane plane)
Test the intersection between this
IVolume 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 IVolumematrix - a Mat4x4IVolume<?> concatenate(T other)
IVolume objectother - a IVolumeVolumes.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 IVolumebv2 - a IVolumet - value in range [0;1]T addScale(T bv1, T bv2, float t)
bv1 - a IVolumebv2 - a IVolumet - T subtract(T bv1, T bv2)
bv1 - a IVolumebv2 - a IVolumeVec3 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(Plane plane)
IVolume and the specified Frustum.VolumeIntersection.Intersect if inside and intersect.VolumeIntersection.Inside if inside but not intersect.VolumeIntersection.Outisde if outside.IntersectTest,
insideFrustum(Frustum)IntersectTest intersectTest(Frustum frustum)
IVolume 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.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com