roavatar-renderer 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2240,7 +2240,7 @@ export declare class RBXRenderer {
|
|
|
2240
2240
|
static getRendererControls(): OrbitControls | undefined;
|
|
2241
2241
|
static getRenderer(): THREE.WebGLRenderer | undefined;
|
|
2242
2242
|
/**@deprecated This can only get the first renderScene's scene */
|
|
2243
|
-
static getScene():
|
|
2243
|
+
static getScene(): THREE.Scene;
|
|
2244
2244
|
/**@deprecated
|
|
2245
2245
|
* This function is unstable and can throw errors, but might work
|
|
2246
2246
|
*/
|
package/dist/index.js
CHANGED
|
@@ -49002,7 +49002,7 @@ class RBXRendererScene {
|
|
|
49002
49002
|
directionalLight;
|
|
49003
49003
|
directionalLight2;
|
|
49004
49004
|
setRect(bounds) {
|
|
49005
|
-
this.viewport = [bounds.left,
|
|
49005
|
+
this.viewport = [bounds.left, window.innerHeight - bounds.bottom, bounds.width, bounds.height];
|
|
49006
49006
|
this.scissor = [...this.viewport];
|
|
49007
49007
|
}
|
|
49008
49008
|
noRect() {
|
|
@@ -49569,7 +49569,7 @@ class RBXRenderer {
|
|
|
49569
49569
|
}
|
|
49570
49570
|
/**@deprecated This can only get the first renderScene's scene */
|
|
49571
49571
|
static getScene() {
|
|
49572
|
-
return RBXRenderer.
|
|
49572
|
+
return RBXRenderer.scene;
|
|
49573
49573
|
}
|
|
49574
49574
|
/**@deprecated
|
|
49575
49575
|
* This function is unstable and can throw errors, but might work
|