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

@shards-design/core

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shards-design/core - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

7

index.ts

@@ -217,12 +217,13 @@ import { CSG, Mesh, MeshBuilder, Vector3 } from '@babylonjs/core'

constructor(
name: string = 'cylinder',
options: Parameters<typeof MeshBuilder.CreateCylinder>[1] & {
name?: string
anchor?: Vector3
},
) {
const mesh = MeshBuilder.CreateCylinder(name, options)
const { name = 'cylinder', anchor, ...rest } = options
const mesh = MeshBuilder.CreateCylinder(name, rest)
super(name, mesh)
this.anchor = options?.anchor || Vector3.Zero()
this.anchor = anchor || Vector3.Zero()
placeAnchor(mesh, this.anchor)

@@ -229,0 +230,0 @@ }

{
"name": "@shards-design/core",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.ts",

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