#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_runtime_get_shape_vertices(
context: *mut c_void,
out_data: *mut *const c_float,
out_len: *mut usize,
)Expand description
Per-part shape vertex positions for the current frame, written by
ss_runtime_get_frame_data. Layout: 12 vertices × (x, y) = 24 floats
(SHAPE_VERTICES_STRIDE) per part, indexed by part_index * 24.
Vertices are in local space, post-pivot, post-coord-system, so a Player
just multiplies them by the world matrix. Only the first
ss_runtime_get_shape_vertex_counts(...)[part_index] vertices are
valid; remaining slots are zero-initialized. Non-shape parts carry zero
count and zero-filled vertex slots. When no part of the pack is a shape,
the buffer is empty, as is ss_runtime_get_shape_vertex_box_coords.