Package dev.gothickit.zenkit
Class NativeOrientedBoundingBox
java.lang.Object
dev.gothickit.zenkit.NativeOrientedBoundingBox
- All Implemented Interfaces:
CacheableObject<CachedOrientedBoundingBox>,NativeObject,OrientedBoundingBox
public final class NativeOrientedBoundingBox
extends Object
implements NativeObject, OrientedBoundingBox
-
Method Summary
Modifier and TypeMethodDescriptionVec3f @NotNull []axes()@NotNull CachedOrientedBoundingBoxcache()@NotNull Vec3fcenter()@Nullable OrientedBoundingBoxchild(long i) long@NotNull List<OrientedBoundingBox>children()static @Nullable NativeOrientedBoundingBoxfromNativeHandle(com.sun.jna.Pointer handle) @NotNull com.sun.jna.Pointer@NotNull Vec3fbooleanisCached()toAabb()
-
Method Details
-
fromNativeHandle
@Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeOrientedBoundingBox fromNativeHandle(com.sun.jna.Pointer handle) -
center
- Specified by:
centerin interfaceOrientedBoundingBox
-
axes
- Specified by:
axesin interfaceOrientedBoundingBox
-
halfWidth
- Specified by:
halfWidthin interfaceOrientedBoundingBox
-
childCount
public long childCount()- Specified by:
childCountin interfaceOrientedBoundingBox
-
child
- Specified by:
childin interfaceOrientedBoundingBox
-
children
- Specified by:
childrenin interfaceOrientedBoundingBox
-
toAabb
-
cache
- Specified by:
cachein interfaceCacheableObject<CachedOrientedBoundingBox>
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceCacheableObject<CachedOrientedBoundingBox>
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-