@react-three/csg
Advanced tools
Comparing version 3.1.0 to 3.2.0
# @react-three/fiber | ||
## 3.2.0 | ||
### Minor Changes | ||
- 06266b4: chore(deps): bump three-bvh-csg from 0.0.10 to 0.0.16 | ||
- 06266b4: chore(deps): bump three-mesh-bvh from 0.6.7 to 0.6.8 | ||
## 3.1.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@react-three/csg", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Constructive solid geometry for React", | ||
@@ -100,5 +100,5 @@ "main": "dist/index.cjs", | ||
"dependencies": { | ||
"three-bvh-csg": "^0.0.10", | ||
"three-mesh-bvh": "^0.6.7" | ||
"three-bvh-csg": "^0.0.16", | ||
"three-mesh-bvh": "^0.6.8" | ||
} | ||
} |
@@ -18,3 +18,3 @@ <p align="center"> | ||
```jsx | ||
import { Geometry, Base, Addition, Subtraction, Intersection, Difference } from '@react-three/csg' | ||
import { Geometry, Base, Addition, Subtraction, ReverseSubtraction, Intersection, Difference } from '@react-three/csg' | ||
@@ -38,4 +38,5 @@ function Cross() { | ||
- `Addition` adds the geometry to the previous | ||
- `Subtraction` subtracts the geometry from the previous | ||
- `Addition` adds the geometry to the previous | ||
- `ReverseSubtraction` subtracts the previous geometry from the geometry | ||
- `Intersection` is the overlap between the geometry and the previous | ||
@@ -42,0 +43,0 @@ - `Difference` is the negative overlap between the geometry and the previous |
59475
199
+ Addedthree-bvh-csg@0.0.16(transitive)
- Removedthree-bvh-csg@0.0.10(transitive)
Updatedthree-bvh-csg@^0.0.16
Updatedthree-mesh-bvh@^0.6.8