@perplexdotgg/bounce 1.3.0 → 1.4.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.
@@ -531,36 +531,6 @@ for (const body of intersectingBodies) {
531
531
  }
532
532
  ```
533
533
 
534
- ### Query Precision
535
-
536
- You can control the precision (and performance) of scene queries:
537
-
538
- ```js
539
- // precise with contact points (default)
540
- world.intersectShape(
541
- (result) => console.log(result.pointA),
542
- queryShape,
543
- { position: { x: 0, y: 0, z: 0 } },
544
- { precision: QueryPrecision.preciseWithContacts }
545
- );
546
-
547
- // precise without contacts
548
- world.intersectShape(
549
- (result) => console.log("precise hit"),
550
- queryShape,
551
- { position: { x: 0, y: 0, z: 0 } },
552
- { precision: QueryPrecision.precise }
553
- );
554
-
555
- // approximate (AABB only, fastest)
556
- world.intersectShape(
557
- (result) => console.log("approximate hit"),
558
- queryShape,
559
- { position: { x: 0, y: 0, z: 0 } },
560
- { precision: QueryPrecision.approximate }
561
- );
562
- ```
563
-
564
534
  ### Raycasting
565
535
 
566
536
  Cast a ray through the scene to find what it hits:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perplexdotgg/bounce",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "license": "MIT",
5
5
  "description": "Bounce",
6
6
  "main": "./build/bounce.js",