Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

meshline

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meshline - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

dist/index.umd.js

2

package.json
{
"name": "meshline",
"version": "3.0.0",
"version": "3.0.1",
"author": "Jaume Sanchez <the.spite@gmail.com> (https://www.clicktorelease.com)",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -99,4 +99,6 @@ # MeshLine

You can optionally add raycast support with the following.
##### Add raycast support
Raycast can be optionally added by overwriting `mesh.raycast` with the one that meshline provides.
```jsx

@@ -143,2 +145,17 @@ import { raycast } from 'meshline'

##### Types
Add these declarations to your entry point.
```tsx
import { ReactThreeFiber } from '@react-three/fiber'
declare module '@react-three/fiber' {
interface ThreeElements {
meshLineGeometry: ReactThreeFiber.Object3DNode<MeshLineGeometry, typeof MeshLineGeometry>
meshLineMaterial: ReactThreeFiber.Object3DNode<MeshLineMaterial, typeof MeshLineMaterial>
}
}
```
### References

@@ -145,0 +162,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc