MCPcopy
hub / github.com/donmccurdy/glTF-Transform / instance.test.ts

File instance.test.ts

packages/functions/test/instance.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Document } from '@gltf-transform/core';
2import { EXTMeshGPUInstancing, type InstancedMesh } from '@gltf-transform/extensions';
3import { instance } from '@gltf-transform/functions';
4import { createTorusKnotPrimitive, logger } from '@gltf-transform/test-utils';

Callers

nothing calls this directly

Calls 15

instanceFunction · 0.90
createTorusKnotPrimitiveFunction · 0.90
setLoggerMethod · 0.80
getRootMethod · 0.80
createBufferMethod · 0.80
createPrimitiveMethod · 0.80
setBufferMethod · 0.80
createAccessorMethod · 0.80
addPrimitiveMethod · 0.80
createMeshMethod · 0.80
setTranslationMethod · 0.80
setMeshMethod · 0.80

Tested by

no test coverage detected