public class btOptimizedBvh extends btQuantizedBvh
btQuantizedBvh.btTraversalModeclassName| Constructor and Description |
|---|
btOptimizedBvh() |
btOptimizedBvh(long cPtr,
boolean cMemoryOwn)
Construct a new btOptimizedBvh, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(btStridingMeshInterface triangles,
boolean useQuantizedAabbCompression,
Vector3 bvhAabbMin,
Vector3 bvhAabbMax) |
static btOptimizedBvh |
deSerializeInPlace(long i_alignedDataBuffer,
long i_dataBufferSize,
boolean i_swapEndian) |
static long |
getCPtr(btOptimizedBvh obj) |
void |
refit(btStridingMeshInterface triangles,
Vector3 aabbMin,
Vector3 aabbMax) |
void |
refitPartial(btStridingMeshInterface triangles,
Vector3 aabbMin,
Vector3 aabbMax) |
boolean |
serializeInPlace(long o_alignedDataBuffer,
long i_dataBufferSize,
boolean i_swapEndian) |
void |
updateBvhNodes(btStridingMeshInterface meshInterface,
int firstNode,
int endNode,
int index) |
buildInternal, calculateSerializeBufferSize, calculateSerializeBufferSizeNew, deSerializeDouble, deSerializeFloat, getAlignmentSerializationPadding, getCPtr, getLeafNodeArray, getQuantizedNodeArray, getSubtreeInfoArray, isQuantized, quantize, quantizeWithClamp, reportAabbOverlappingNodex, reportBoxCastOverlappingNodex, reportRayOverlappingNodex, serialize, serialize, setQuantizationValues, setQuantizationValues, setTraversalMode, unQuantizedispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btOptimizedBvh(long cPtr,
boolean cMemoryOwn)
public btOptimizedBvh()
public static long getCPtr(btOptimizedBvh obj)
public void build(btStridingMeshInterface triangles, boolean useQuantizedAabbCompression, Vector3 bvhAabbMin, Vector3 bvhAabbMax)
public void refit(btStridingMeshInterface triangles, Vector3 aabbMin, Vector3 aabbMax)
public void refitPartial(btStridingMeshInterface triangles, Vector3 aabbMin, Vector3 aabbMax)
public void updateBvhNodes(btStridingMeshInterface meshInterface, int firstNode, int endNode, int index)
public boolean serializeInPlace(long o_alignedDataBuffer,
long i_dataBufferSize,
boolean i_swapEndian)
public static btOptimizedBvh deSerializeInPlace(long i_alignedDataBuffer, long i_dataBufferSize, boolean i_swapEndian)
Copyright © 2017. All rights reserved.