@adatechnology/game-animals-three 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -299,6 +299,10 @@ type AnimalsThree = {
299
299
  createSkin(rig: AnimalRig): NodeSkin;
300
300
  readonly jointMaterial: THREE_NS.MeshStandardMaterial;
301
301
  };
302
- declare const createAnimalsThree: (THREE: Three, options?: AnimalsThreeOptions) => AnimalsThree;
302
+ /**
303
+ * The animals drawn with the host's three.js. The geometry (boxes, cylinders, cones, spheres, circles, tori, the lathe of the bodies) comes from
304
+ * game-shapes through `shapeGeometries(host)`: the same bytes and classes as three's, from a template cache; everything else is the host's.
305
+ */
306
+ declare const createAnimalsThree: (host: Three, options?: AnimalsThreeOptions) => AnimalsThree;
303
307
 
304
308
  export { ANIMALS_AREA_ID, ANIMAL_CALLS, ANIMAL_CALL_SOURCES, ANIMAL_ITEM_PREFIX, ANIMAL_SOUNDS, ANIMAL_SOUND_BANK, type AnimalCall, type AnimalLeg, type AnimalPivot, type AnimalRig, type AnimalSound, type AnimalSoundOptions, type AnimalSoundSink, type AnimalWing, type AnimalsContext, type AnimalsTestOptions, type AnimalsThree, type AnimalsThreeOptions, type AnimateParams, BIRD_EXTRAS, type BirdExtra, type BirdParts, COW_MOO, type CanvasLike, DOG_BARK, type DocumentLike, type ExtraContext, HEN_CLUCK, LAPWING_CALL, type LineUpOptions, type OutbreakLike, QUADRUPED_EXTRAS, type QuadrupedExtra, type QuadrupedParts, type Three, applyVisualState, createAnimalSound, createAnimalsTestModule, createAnimalsThree, createCoatTexture, lineUpAnimals, profileGeometry, setJointView, setSplit, updateSplit };