three-mesh-bvh
Advanced tools
Comparing version 0.7.0-beta.0 to 0.7.0
{ | ||
"name": "three-mesh-bvh", | ||
"version": "0.7.0-beta.0", | ||
"version": "0.7.0", | ||
"description": "A BVH implementation to speed up raycasting against three.js meshes.", | ||
@@ -5,0 +5,0 @@ "module": "src/index.js", |
@@ -12,3 +12,11 @@ export { MeshBVH } from './core/MeshBVH.js'; | ||
export * from './utils/StaticGeometryGenerator.js'; | ||
export * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js'; | ||
export * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js'; | ||
// backwards compatibility | ||
import * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js'; | ||
export const shaderStructs = BVHShaderGLSL.bvh_struct_definitions; | ||
export const shaderDistanceFunction = BVHShaderGLSL.bvh_distance_functions; | ||
export const shaderIntersectFunction = ` | ||
${ BVHShaderGLSL.common_functions } | ||
${ BVHShaderGLSL.bvh_ray_functions } | ||
`; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1511538
16948