three-render-objects
Advanced tools
Comparing version 1.38.1 to 1.39.0
@@ -39,2 +39,4 @@ import { WebGLRendererParameters, Renderer, Object3D, Light, WebGLRenderer, Scene, Camera, Intersection } from 'three'; | ||
height(height: number): ChainableInstance; | ||
viewOffset(): [number, number]; | ||
viewOffset(offset: [number, number]): ChainableInstance; | ||
skyRadius(): number; | ||
@@ -41,0 +43,0 @@ skyRadius(glUnits: number): ChainableInstance; |
{ | ||
"name": "three-render-objects", | ||
"version": "1.38.1", | ||
"version": "1.39.0", | ||
"description": "Easy way to render ThreeJS objects with built-in interaction defaults", | ||
@@ -58,4 +58,4 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.26.0", | ||
"@babel/preset-env": "^7.26.0", | ||
"@babel/core": "^7.26.9", | ||
"@babel/preset-env": "^7.26.9", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
@@ -65,9 +65,9 @@ "@rollup/plugin-commonjs": "^28.0.2", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@types/react": "^19.0.7", | ||
"postcss": "^8.5.1", | ||
"@types/react": "^19.0.10", | ||
"postcss": "^8.5.2", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.30.1", | ||
"rollup": "^4.34.8", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"three": "^0.172.0", | ||
"three": "^0.173.0", | ||
"typescript": "^5.7.3" | ||
@@ -74,0 +74,0 @@ }, |
@@ -59,2 +59,3 @@ three-render-objects | ||
| <b>height</b>([<i>px</i>]) | Getter/setter for the canvas height. | *<window height>* | | ||
| <b>viewOffset</b>([<i>[number, number]</i>]) | Getter/setter for the canvas center offset (`x`, `y`). | `[0, 0]` | | ||
| <b>skyRadius</b>([<i>number</i>]) | Radius of the sphere that bounds the scene, in GL units. | 50000 | | ||
@@ -61,0 +62,0 @@ | <b>backgroundColor</b>([<i>str</i>]) | Getter/setter for the canvas background color. | `#000011` | |
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 too big to display
Sorry, the diff of this file is not supported yet
7576442
61378
112