Jolt Physics
A multi core friendly Game Physics Engine
|
This class encodes and compresses quad tree nodes. More...
#include <NodeCodecQuadTreeHalfFloat.h>
This class encodes and compresses quad tree nodes.
|
inline |
Once all nodes have been finalized, this will finalize the header of the nodes.
|
inline |
Get an upper bound on the amount of bytes needed for a node tree with inNodeCount nodes.
|
inline |
Allocate a new node for inNode. Algorithm can modify the order of ioChildren to indicate in which order children should be compressed Algorithm can enlarge the bounding boxes of the children during compression and returns these in outChildBoundsMin, outChildBoundsMax inNodeBoundsMin, inNodeBoundsMax is the bounding box if inNode possibly widened by compressing the parent node Returns uint(-1) on error and reports the error in outError
|
inline |
Once all nodes have been added, this call finalizes all nodes by patching in the offsets of the child nodes (that were added after the node itself was added)