Repository navigation
box3d-rust 0.4.0
This release syncs the port to upstream Box3D 9f998c8 and makes World
Send (#1). The C reference pin advances to 9f998c8 by way of 30c67b5
(upstream v0.2.0: 64-bit rapidhash geometry hashes and triangle manifold
collision fixes), and this port follows its API and behavior. The sync ran one
upstream commit at a time. Simulation results are not bit-compatible with
0.3.0. Ported:
47d7f7cclockwise option, joint is awake (#130)954cf87Fixes (#157)f555ee4Optimize Broad-Phase (#159)9e5a4cdOptimizations (#161)79fc559Optimizations (#168)8fda30e(samples only, nothing to port)adec25bSAT optimizations (#170)5643cd8Remove compound mesh child material limit (#172)9f998c8SAT samples (#173)
Breaking
- Sensor visitors must now be convex (upstream
b3IsConvexcheck); mesh,
height-field, and compound shapes no longer generate sensor overlaps as
visitors. MAX_SHAPE_CAST_POINTSnow equalsMAX_HULL_VERTICES(128, previously 64).- Recording format minor version advances to 4. Older recordings still
replay (the loader gates on major version only), but recordings that use
the new shape-mutator ops are not readable by 0.3.0. - Geometry content hashes are now 64-bit rapidhash: the
HullData,
MeshData, andHeightFieldDatahash fields areu64, struct byte
layouts and version constants changed (BoxHull648 -> 640 bytes), and
serialized geometry from older versions no longer loads. core::non_zero_hashandrecording::hash64_blobare removed;
hash_hull_datareturns the content hash directly.- Shape creation now rejects geometry with mismatched version constants at
runtime. - The world now owns an active recording (#1).
world_start_recording(world, recording: Recording)and
recording::start_recordingtake theRecordingby value, and
world_stop_recording(world)/recording::stop_recordingreturn the
finalizedOption<Recording>. The world previously held a raw pointer to
a caller-ownedRecording, which was unsound if the caller moved or dropped
it mid-session.World::recordingis now
Option<Box<RefCell<Recording>>>. - Shared hull geometry is now
Arc<HullData>instead ofRc<HullData>
(ShapeGeometry::Hull, the world hull database). - Recording format major version advances to 5 (upstream
47d7f7c): recorded
mover planes carry the newPlaneResulttriangle, child, and material
indices. Recordings from major version 4 no longer replay. PlaneResultgainstriangle_index,child_index, andmaterial_index,
andMeshDefgainsstride,vertex_bytes, andclock_wise_winding
(upstream47d7f7c). Struct literals without..Default::default()must
add the new fields.get_length_and_normalizenow treats vectors with squared length at or
below1000 * f32::MIN_POSITIVEas zero (was length belowf32::EPSILON)
and writes a zero length on failure, matching upstream.- Recording format major version advances to 6 (upstream
954cf87): the
recorded body def carriessafety_factor, and the new op0x3B
BodySetSafetyFactoris recorded and replayed. Recordings from major
version 5 no longer replay. The world snapshot version advances to 3
(Body::safety_factor); older snapshots are rejected. BodyDefgainssafety_factor(default 0.5) andBodygains
safety_factor(upstream954cf87). Struct literals without
..Default::default()must add the field.- The shared human ragdoll (
humanmodule) is rewritten to match upstream
954cf87: theSpine02andHeadbones are gone (the neck bone carries the
head capsule),BoneIdvalues are renumbered,BONE_COUNTis 12,
FILTER_JOINT_COUNTis 9, andcreate_humannow creates three filter
joints (thighs, neck and each upper arm). Bone frames, capsules, per-bone
friction, joint limits, and foot capsules on the calves all changed. - The dynamic tree is rewritten to upstream
f555ee4's layout:TreeNodeis
the 32-byte{ aabb, flag_index, height }node (siblings paired at even
indices, root at 0, index 1 always empty), and category bits and user data
live in the newTreeProxyarray.DYNAMIC_TREE_VERSIONis now
0x1D6F4C2A73B80E91, which also changesCOMPOUND_VERSION; baked compounds
and saved trees from earlier versions no longer load. Theb3TreeNodeFlags
constants (ALLOCATED_NODE,ENLARGED_NODE, the oldLEAF_NODE) are
replaced by theMOVED_NODE/LEAF_NODE/EMPTY_NODEflag-index bits. DynamicTree::validate_no_enlargedis renamedvalidate_no_moved
(b3DynamicTree_ValidateNoMoved), andBroadPhase::validate_no_enlargedis
renamedvalidate_no_moved.DynamicTree::node_countandroot_indexare
removed (usenode_endandROOT_NODE).user_data/aabbnow resolve
the proxy id through the proxy array, so proxy ids are no longer node
indices.TreeNodeView(fromDynamicTree::node_views) now describes the sibling
pair layout:left_child,proxy_id,user_data,is_leaf,is_empty,
is_moved, and covers only nodes belownode_end.BroadPhasedropsmoved_proxies,move_array,buffer_move, and
enlarge_proxy; moves are marks in the trees (mark_proxy_moved,
mark_proxy_moved_serial).TaskContext::enlarged_sim_bit_setis replaced
byTaskContext::pair_keys, the shape flagENLARGED_AABBis removed, and
Worldgainscompound_shape_count.- The baked compound blob gains
proxy_offsetand stores only the live node
range plus the proxy array (header 144 -> 184 bytes). - Recording format minor version advances to 6 and the world snapshot version
to 5 (upstreamf555ee4): snapshots store the tree node end, pair free
list, proxy capacity and free list, DFS order flag, nodes and parents up to
the node end, the proxies, andWorld::compound_shape_count; the move
buffer is gone. Older snapshots are rejected. - Shape fat AABBs move out of
Shapeinto the parallelWorld::fat_aabbs
array (upstream9e5a4cd);Shape::fat_aabbis removed and
create_shape_proxynow takes the world and a shape id. Contact::body_sim_index_a/bare replaced by the persistent
encoded_body_sim_a/blocators (awake: local index, static:
-(local index + 2), otherwiseNULL_INDEX), maintained by the new
refresh_body_contact_indicesand the wake, sleep, transfer, destroy, and
graph paths. New helpersencode_body_sim_index,is_static_sim_index,
decode_awake_index, andsleep_body_sim_index.body_flags::ENLARGE_BOUNDSis renamedENLARGE_BULLET_BOUNDSand is only
set for bullets;IS_FASTis no longer a transient body flag and only lives
onBodySim.- The restitution solver stage is gone:
RESTITUTION_ITERATIONS,
Profile::apply_restitution,apply_restitution, and
apply_restitution_convexare removed, andContactConstraint::restitution
is removed.ManifoldConstraintPoint::relative_velocitybecomes
restitution_velocity. The contact kernels split intopush_contacts/
push_contacts_convex(biased) andsolve_contacts/
solve_contacts_convex(relax with deferred restitution); none take a
use_biasflag.prepare_color_contactstakes the contacts mutably. Counters::byte_countisi64and is now the first field (upstream
b3Counterslayout). The port has no allocator hooks, so upstream's
b3AllocFcn/b3FreeFcn/b3GetByteCountsignature changes have no Rust
counterpart.- Recording format minor version advances to 7 and the world snapshot version
to 7 (upstream9e5a4cd): snapshots storeWorld::fat_aabbsafter the
shapes and keep the contact body sim locators. Older snapshots are rejected. - The same-step restitution from
9e5a4cdis replaced by a post-solve
restitution stage again (upstream79fc559):ManifoldConstraintPoint
carriesrelative_velocityandrestitution_impulse(instead of
restitution_velocity) andContactConstraintregainsrestitution.
apply_restitution(Mesh/overflow) returns with a new signature taking the
restitution threshold and the propagation flag, andStepContextloses
restitution_threshold(the solver reads the world's value, like C). - Graph-color convex contacts are solved by a four lane wide constraint
(contact_solver::wide,ContactConstraintWide) that runs the scalar
b3FloatWpath, replacing the per-lanesolve_contacts_convex/
push_contacts_convex/warm_start_contacts_convexonContactConstraint.
prepare_color_contactsis replaced byprepare_mesh_contactsand
wide::prepare_contacts_convex. Theb3FloatWhelpers move from
manifoldto the crate-levelsimd_scalarmodule. world_rebuild_static_treeis now crate-internal (upstream removed
b3World_RebuildStaticTreefrom the public API); the recording op still
replays it.- Recording format minor version advances to 8 (upstream
79fc559) with the
new ops0x0EWorldSetRestitutionIterationsand0x0F
WorldEnableRestitutionPropagation. The world snapshot version advances to
10: the world config storesrestitution_iterationsand the restitution
propagation flag (bit0x10). Older snapshots are rejected. - Compound mesh children no longer have a material limit (upstream
5643cd8).MAX_COMPOUND_MESH_MATERIALSis removed.CompoundCapsule,
CompoundHull, andCompoundSpherecarry au16material_indexplus a
u16paddingfield (wasi32).CompoundMesh::material_indicesand
ChildShape::material_indicesare now&[u16]slices into the compound
with amaterial_countfield (was a fixed[i32; 4]), and
compute_mesh_manifoldstakes its material map asOption<&[u16]>. - The baked compound blob layout changes (upstream
5643cd8): the convex
child and hull instance material indices areu16+ padding, mesh
instances store amaterial_offset/material_countpair (60 -> 52
bytes) into a packedu16mesh material map stored after the mesh
instance array, andCOMPOUND_VERSIONchanges (seed
0x7A2F41C9E6D0B358). Baked compounds from earlier versions no longer
load. - The compatibility re-exports in
contact_solver::wideare removed:
contact_solver::wide::SIMD_WIDTH(usecore::SIMD_WIDTH) and the wide
vec3 helpersVec3W,add_vw,sub_vw,cross_w,dot_w,mul_svw,
mul_add_svw, andmul_sub_svw, which moved to the crate-internal
simd_scalarmodule with upstream9f998c8.
Changed
- Mover collision against meshes and height fields is one sided (upstream
47d7f7c):collide_mover_and_mesh/collide_mover_and_height_field
skip triangles whose back faces the mover center, respecting mirrored mesh
scale and clockwise height fields. Mesh and height-field shape casts cull
back-facing triangles the same way. - Mover planes report the mesh or height-field triangle and its material.
Compound movers report the child index and remap the child material through
the compound material table;collide_moverclamps the material index to
the shape's material count. shape_distancefillsnormal,distance,iterations, and
simplex_counton its overlap early outs, builds witness points before the
normal check, and only writes the simplex cache on success.time_of_impactreports an averaged hit point and normal when the shapes
start overlapped.- Height-field casts swap the clockwise cell corners once up front, as
upstream now does, instead of choosing vertices and normals per triangle.
Clockwise ray-cast triangles are geometrically unchanged; the second
triangle's normal is computed from different edges, so it may differ in the
last bits. Worldis nowSend, so a world can be built on one thread and moved to
another (#1).- Simplified face-vs-edge contact selection in the hull-capsule and
triangle-capsule manifolds, matching upstream. - Continuous collision uses each body's
safety_factor(upstream954cf87)
instead of the fixed 0.5 when deciding whether a body is fast. - Contact recycling is skipped for any contact touching a fast body (upstream
954cf87); previously only fast mesh contacts skipped it. - The broad phase rebuilds the dynamic and kinematic trees every step, even
when no proxy moved (upstream954cf87). The empty-tree validation moved
fromsolveintoWorld::step, where C finishes the tree task. reduce_manifold_pointsand the mesh cluster reduction follow upstream's
B3_MAX_MANIFOLD_POINTS == 4split: the default keeps the fast
approximate reduction, and a largerMAX_MANIFOLD_POINTSwould build a
2D hull and simplify it to the target.- The human ragdoll rewrite changes the ragdoll and wave-pile determinism
scenes; both precision modes match upstream's new golden hashes. - New broad-phase pair finder (upstream
f555ee4, ported from Box2D): the
dynamic tree collides against itself through its moved sibling pairs and
against the static and kinematic trees through a seeded tree-against-tree
traversal. Candidates are batched, culled against the pair set, and
collected as pair keys that are sorted before contacts are created, so
contact creation order follows shape order instead of tree structure. The
ragdoll, wave-pile, and query-spawn goldens change and match upstream in
both precision modes. - The tree rebuild puts the whole tree in DFS order and keeps unmoved
subtrees; the solver refits the kinematic and dynamic trees with a sweep
over the moved marks instead of enlarging proxies one by one. Bullets only
enlarge a proxy when the tree box no longer contains the shape's fat box. - Same-step restitution (upstream
9e5a4cd): the bounce is armed in prepare
from the pre-solve normal velocity and solved inside the relax pass, which
sweeps the normal constraints once per manifold point while a bounce is
armed and retires it once every bouncing point separates. The convex path
makes the sweep count and the rolling resistance decision per group of four
contacts, like upstream's wide constraints.ManifoldPoint::total_normal_impulse
now only accumulates in the relax pass and includes the restitution impulse. ManifoldPoint::normal_velocityis only computed when hit events are
enabled on the contact (zero otherwise), and is written during prepare.- Continuous collision returns the gravity lost to the time of impact (the
fraction of the step cut short), respecting linear motion locks. - Contacts cache
base_separationonly while touching. - The narrow phase resolves body sims through the contact locators and tests
proxy overlap onWorld::fat_aabbs. - Debug draw contact forces no longer halve the total normal impulse.
- Finalize clears the transient flags on the body and sim up front and only
copies speed capping back to the body;HAD_TIME_OF_IMPACTstays on the
sim. - The ragdoll and mesh-drop determinism goldens change and match upstream in
both precision modes. - Post-solve Poisson kinetic restitution (upstream
79fc559): after the
sub-steps, a restitution stage runsWorld::restitution_iterationstimes
(overflow, then each color's wide and mesh contacts) when any contact has
restitution. A bounce is armed from the sampled pre-solve normal velocity
and limited by the compression impulse, so it never gains energy. With
enable_restitution_propagationthe stage also sweeps contacts without
restitution. The relax pass is back to a single sweep. - The wide convex prepare gathers straight into the lanes (perpendicular
tangents, symmetric inverse inertia and rolling mass, friction impulse
projected onto the tangents), the wide warm start applies one accumulated
impulse per body, and push/solve compute separation with normals rotated
into body space, matching upstream's operation order. - Contact recycling zeroes the manifold point
normal_velocity. HAD_TIME_OF_IMPACTis set on the body sim when continuous collision
moves the body (not per query hit), survivessync_body_flags, and debug
draw reads it from the sim. The continuous query skips bullets by the body
flag.DynamicTree::rebuild(true)(full build) keeps the moved marks, so a
static rebuild between a static mutation and the next step no longer loses
the pending pairs.- Joints between two non-dynamic bodies go to the static set when a body is
enabled; the prismatic and weld prepare asserts accept either body awake. - The ragdoll, wave-pile, and query-spawn determinism goldens change and
match upstream in both precision modes. - Hull-vs-hull SAT culling (upstream
adec25b): the separating axis query
bounds each candidate axis by the hull inner radii and center distance,
seeds a separation floor from the face best aligned with the center
delta, skips faces that cannot beat it, and pre-culls edge pairs whose
Gauss map arcs cannot reach the best separation (returning early when
either hull has no candidates). When face clipping produces no points,
collide_hullsreruns a full query for the best edge pair.
find_hull_support_vertexscans the SoA vertices four lanes at a time
and breaks ties toward the lowest vertex index. Verified bit-identical to
the C reference on randomized hull pairs in both precision modes;
determinism goldens are unchanged. - SAT revision (upstream
9f998c8): theadec25bfull-query fallback in
collide_hullsis removed; an empty face contact now switches to the edge
contact only when the edge separation beats both face separations (or the
clip separation by the linear slop). The edge candidate test
(test_edge_candidate, wasarc_can_reach) drops the center-distance
term. The scalar edge phase gathers each B edge from the transformed SoA
arrays and usesdotordering, and its Gauss map tolerance is
-linear_slop^2(was-0.0001). Wide dot products useb3DotWorder
(x + y) + z(the SoA transform, face dots, and support search), and the
support search starts its minimum at infinity. Verified bit-identical to the
C reference on randomized hull pairs in both precision modes. - The wide vec3 type and its helpers (
Vec3W,dot_w,cross_w,add_vw,
sub_vw,mul_svw,mul_add_svw,mul_sub_svw, plus the newload_vw,
store_vw,splat_vw,neg_vw) now live insimd_scalaralongside the
othersimd.hhelpers, matching upstream;contact_solver::wide
re-exports the ones it used.dot3_w(b3Dot3W) is removed. - The wave-pile determinism golden changes and matches upstream in both
precision modes (float: sleep step 314, hash0x8CB8F656; double: hash
0x03B509B6).
Fixed
should_bodies_collidenow rejects pairs where neither body is dynamic,
like upstream'sb3ShouldBodiesCollide(found by the new broad-phase
stress test).- Disabling a kinematic body attached to a static body by a joint no longer
trips the joint set assertion (upstream issue #164). - Overflow-color contacts now flag hit events, like upstream's
b3StoreImpulses_Overflow(the port only flagged graph-color contacts). - Body extents (upstream
47d7f7c): capsule and spheremax_extentnow
bound the shape about the center of mass on every axis (the capsule used a
signed max, the sphere subtracted the local center twice), and mesh extents
measure from the local center instead of the body origin. - Compound creation caps each mesh child at
MAX_COMPOUND_MESH_MATERIALS
materials instead of indexing past the child material table. - Replayed-mesh material-index deserialization read the wrong element count
(one index per triangle is correct); replayed mesh contacts previously
panicked. - The same bug in the compound deserializer's duplicated nested-mesh reader:
multi-material mesh children restored from bytes panicked on first contact.
The duplicated readers are gone; nested blobs now go through the standalone
converters. - Corrupt or kind-mismatched geometry in a recording file now fails the
replay gracefully instead of panicking (a deliberate, documented divergence
from C, which trusts the blob). - Triangle manifold collision fixes from upstream: plane-side test at exact
zero, the capsule-edge parallel-skip bug, corrected capsule contact points,
and an early return when no valid edge contact exists. Simulation results
change; determinism hashes match upstream's new constants in both
precision modes. - Restoring a snapshot over a live world (recording seek / re-seed) leaked the
hull-database entries of the overwritten hull shapes: the release cloned the
shape'sArcfirst, so the reference-count check never matched. The shape's
hull reference is now moved out and released, as C's
b3FreeLiveSimElementsdoes. - Tearing down a world now finalizes an active recording, matching
b3DestroyWorldcallingb3StopRecordingInternal: use the new
world::destroy_world(see Added). Merely dropping aWorldstill
discards an active recording unfinalized. RecPlayernow destroys its replay world the way C does: dropping the
player (b3DestroyPlayer) and a failed snapshot seed inRecPlayer::create
go throughdestroy_world, so the host'sdestroy_debug_shapefires for
every live replayed shape at teardown.- Snapshot restore no longer releases live shapes a second time inside the
shape deserializer; the single release indeserialize_into_shellmatches
C'sb3DesShapes/b3FreeLiveSimElements. - Creating a joint with
collide_connectedfalse now destroys the existing
contacts between the two bodies first (upstream954cf87, box3d issue
#117). Previously those contacts survived until the joint's collide flag was
toggled. - Changing a body's mass data (
body_set_mass_data,body_apply_mass_from_shapes,
and shape changes that update mass) now invalidates the cached relative
transform on the body's contacts, so a recycled manifold is never reused
after the center of mass moves (upstream954cf87). - A proxy enlarged in one step and destroyed before the next no longer leaves
enlarged tree nodes behind (upstream954cf87, box3d issue #149). overlap_compoundnow brings the world-space proxy into the compound frame
before querying the compound tree and children, so compounds on moved or
rotated bodies report correct overlaps (upstream954cf87). The compound
shape cast builds the child-local input withmake_local_proxyand
inv_rotate_vectorand keepscan_encroach.- The compound sphere array now uses the C
b3CompoundSpherestride of 20
bytes (it used the 32 byte capsule stride), so compounds with more than one
sphere child round-trip throughconvert_compound_to_bytes/
convert_bytes_to_compoundand the blob is byte-identical to C. - Casts, mover collision, contacts, and
get_shape_user_material_idon a
compound mesh child with more than four materials now resolve the
triangle's own material instead of clamping to the fourth (upstream
5643cd8). convert_bytes_to_compoundrejects (returnsNone) blobs whose mesh
material runs fall outside the packed map section, whose mesh instances
have fewer map entries than their mesh's materials, or whose map entries
or convex child material indices fall outside the compound material
table, so corrupt compounds fail the conversion instead of panicking in
casts, mover collision, or contacts. C trusts the blob here.- The wasm demo crate now builds with
double-precisionenabled
(cargo check --workspace --all-targets --features double-precision, where
workspace feature unification turns large world mode on for the demo's
box3d-rust dependency). The demo passes and receives world positions as
Pos/WorldTransform(widening f32 inputs, narrowing to f32 only for
render data) instead of assuming they aref32. CI now checks the whole
workspace in both precision modes. demo/build-wasm.ps1andscripts/pre-commit-check.ps1are now pure ASCII,
so Windows PowerShell 5.1 (which reads BOM-less scripts as ANSI) parses
them. A non-ASCII em dash had brokenbun run build:wasmon 5.1.
Added
-
Upstream
79fc559API:WorldDef::restitution_iterations(default 2) and
enable_restitution_propagation,world_set_restitution_iterations/
world_get_restitution_iterations(clamped to the new
MAX_RESTITUTION_ITERATIONS= 63),world_enable_restitution_propagation/
world_is_restitution_propagation_enabled, andProfile::restitution. -
Upstream
47d7f7cAPI:body_time_of_impact_moverwithBodyToiResult
(b3Body_TimeOfImpactMover),body_get_min_extent,body_get_max_extent,
body_get_max_extent_origin, andjoint_is_awake. -
Mesh creation reads interleaved vertex buffers (
MeshDef::vertex_bytes
read throughMeshDef::stride) and accepts clockwise input
(MeshDef::clock_wise_winding). The stride applies only to
vertex_bytes; contiguousverticesrequire a stride of 0 or 12. Like C,
a non-zero stride below 12 bytes, above 4096, or not a multiple of 4 is
rejected. -
Ported upstream tests:
test_mesh.c(7), bodyShapeExtents, body query
MoverTOI*(11), height-field backside and clockwise casts (4), and mover
material / one sided collision (10). -
world::destroy_world(world: World) -> Option<Recording>(b3DestroyWorld):
consumes the world, finalizes and returns any active recording, then
releases every live shape's allocations (hull-database references and
destroy_debug_shapehost handles). -
RecPlayer::set_debug_shape_callbacks(b3RecPlayer_SetDebugShapeCallbacks):
destroys the current replay world, rebuilds frame 0 under the new
debug-shape callbacks, and rewinds the player. -
New
rapidhashmodule andcore::hash64_non_zero, with thetest_hash.c
suite ported. -
ShapeSetMeshMaterial,ShapeSetHull, andShapeSetMeshare now recorded
and replayed. -
New tests: overlap hull proxy, transformed box hull, capsule face-deep
manifolds, and geometry mutator replay. -
New "Class Ring" demo scene in the Bodies category.
-
Upstream
954cf87API:body_set_safety_factor/body_get_safety_factor
(b3Body_SetSafetyFactor / GetSafetyFactor),core::get_max_manifold_points
(b3GetMaxManifoldPoints), and the 2D hull used for manifold simplification:
hull::Point2D,hull::hull_2d, andhull::simplify_hull_2d
(b3Point2D, b3Hull2D, b3SimplifyHull2D). -
Ported upstream
954cf87tests: 2D hull and simplification (6), compound
shape cast / material remap / transformed overlap / rotated-child mover (7),
body queryOverlapCompoundRotatedBody, joint
TestCreateJointClearsContacts, manifoldMaxPointCountTestwith the
ENSURE_FACE_POINTSrange check, worldTestEnlargedProxyDestroyed, the
safety-factor additions to the recordingAllOpssession (as a focused
round-trip test), and the determinismEnsureRepeatable/
ENSURE_GOLDENstructure. -
Upstream
f555ee4tree API:DynamicTree::save/load(b3DynamicTree_Save
/ Load, byte-compatible with the C file format) plussave_to_bytes/
load_from_bytes,refit,mark_proxy_moved,mark_proxy_moved_serial,
clear_moved,gather_moved_proxies,create_proxy_internal,
move_proxy_internal,has_tree_moved,needs_rebuild,node_end,
dfs_ordered,proxy_capacity, andtable::HashSet::contains_hashed_key. -
Ported upstream
f555ee4tests:test_dynamic_tree.c(8), world
TestCompoundShapeCountand the reworkedTestEnlargedProxyDestroyed
(CountMovedNodes), and the compound tree asserts. -
Ported upstream
5643cd8tests: compoundCompoundMeshManyMaterialsand
CompoundMeshContactMaterial, and the five-material compound mesh child
addition to the recordingAllOpssession (as a focused round-trip test). -
create_complex_hull(radius)(b3CreateComplexHull, upstream9f998c8): the
hull of 32 pseudo random points on a sphere from PEEL's convex pile.