Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
10 lines
396 B
JavaScript
10 lines
396 B
JavaScript
/** Write a new model matrix through core's generation-guarded shared SOA column. */
|
|
export function animateInstance(core, instance, transform) {
|
|
core.setInstanceTransform(instance.handle, transform);
|
|
}
|
|
|
|
/** Write the opaque 512-bit instance classification used by graph predicates. */
|
|
export function classifyInstance(core, instance, words) {
|
|
core.setInstanceType(instance.handle, words);
|
|
}
|