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.2 to 0.0.3

index.ts

8

dist/index.d.ts

@@ -46,3 +46,3 @@ import { Mesh, MeshBuilder, Vector3 } from '@babylonjs/core';

/**
* Move the object to the top by a delta, not an absolute position
* Move the object up by a delta, not an absolute position
*

@@ -52,5 +52,5 @@ * @param position a positive or negative number

*/
top(position: number): this;
up(position: number): this;
/**
* Move the object to the bottom by a delta, not an absolute position
* Move the object down by a delta, not an absolute position
*

@@ -60,3 +60,3 @@ * @param position a positive or negative number

*/
bottom(position: number): this;
down(position: number): this;
setX(position: number): this;

@@ -63,0 +63,0 @@ setY(position: number): this;

@@ -73,3 +73,3 @@ "use strict";

/**
* Move the object to the top by a delta, not an absolute position
* Move the object up by a delta, not an absolute position
*

@@ -79,3 +79,3 @@ * @param position a positive or negative number

*/
top(position) {
up(position) {
this.mesh.position.y += position;

@@ -85,3 +85,3 @@ return this;

/**
* Move the object to the bottom by a delta, not an absolute position
* Move the object down by a delta, not an absolute position
*

@@ -91,3 +91,3 @@ * @param position a positive or negative number

*/
bottom(position) {
down(position) {
this.mesh.position.y -= position;

@@ -94,0 +94,0 @@ return this;

{
"name": "@shards-design/core",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"main": "dist/index.js",
"main": "index.ts",
"types": "dist/",

@@ -11,3 +11,3 @@ "files": [

"scripts": {
"build": "tsc",
"build": "npx -p typescript tsc",
"publish": "npm publish --access public"

@@ -14,0 +14,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