three-render-objects
Advanced tools
Comparing version 1.29.5 to 1.30.0
@@ -9,2 +9,3 @@ import { WebGLRendererParameters, Renderer, Object3D, Light, WebGLRenderer, Scene, Camera, Intersection } from 'three'; | ||
controlType?: 'trackball' | 'orbit' | 'fly'; | ||
useWebGPU?: boolean; | ||
rendererConfig?: WebGLRendererParameters; | ||
@@ -11,0 +12,0 @@ extraRenderers?: Renderer[]; |
{ | ||
"name": "three-render-objects", | ||
"version": "1.29.5", | ||
"version": "1.30.0", | ||
"description": "Easy way to render ThreeJS objects with built-in interaction defaults", | ||
@@ -57,6 +57,6 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@babel/preset-env": "^7.25.4", | ||
"@babel/core": "^7.25.8", | ||
"@babel/preset-env": "^7.25.8", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-commonjs": "^28.0.0", | ||
"@rollup/plugin-commonjs": "^28.0.1", | ||
"@rollup/plugin-node-resolve": "^15.3.0", | ||
@@ -66,7 +66,7 @@ "@rollup/plugin-terser": "^0.4.4", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.22.4", | ||
"rollup": "^4.24.0", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"three": "^0.168.0", | ||
"typescript": "^5.6.2" | ||
"three": "^0.169.0", | ||
"typescript": "^5.6.3" | ||
}, | ||
@@ -73,0 +73,0 @@ "engines": { |
@@ -42,2 +42,3 @@ three-render-objects | ||
| <b>controlType</b>: <i>str</i> | Which type of control to use to control the camera. Choice between [trackball](https://threejs.org/examples/misc_controls_trackball.html), [orbit](https://threejs.org/examples/#misc_controls_orbit) or [fly](https://threejs.org/examples/misc_controls_fly.html). | `trackball` | | ||
| <b>useWebGPU</b>: <i>boolean</i> | Whether to use the `WebGPURenderer` instead of the default `WebGLRenderer`. | `false` | | ||
| <b>rendererConfig</b>: <i>object</i> | Configuration parameters to pass to the [ThreeJS WebGLRenderer](https://threejs.org/docs/#api/en/renderers/WebGLRenderer) constructor. | `{ antialias: true, alpha: true }` | | ||
@@ -44,0 +45,0 @@ | <b>extraRenderers</b>: <i>array</i> | If you wish to include objects that require a dedicated renderer besides `WebGL`, such as [CSS3DRenderer](https://threejs.org/docs/#examples/en/renderers/CSS3DRenderer), include in this array those extra renderer instances. | `[]` | |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
5853796
38350
111
1