@shards-design/core
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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 @@ }, |
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
17070
6
534