@needle-tools/three 0.145.0 → 0.145.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/build/three.cjs +11 -1
- package/build/three.js +11 -1
- package/build/three.min.js +2 -1
- package/build/three.module.js +5 -1
- package/examples/jsm/webxr/OculusHandModel.js +3 -2
- package/examples/jsm/webxr/XRHandMeshModel.js +5 -3
- package/package.json +1 -1
- package/src/extras/PMREMGenerator.js +3 -0
package/build/three.cjs
CHANGED
|
@@ -11783,6 +11783,15 @@ class PMREMGenerator {
|
|
|
11783
11783
|
|
|
11784
11784
|
const cubeUVRenderTarget = _createRenderTarget(width, height, params);
|
|
11785
11785
|
|
|
11786
|
+
const {
|
|
11787
|
+
_lodMax
|
|
11788
|
+
} = this;
|
|
11789
|
+
({
|
|
11790
|
+
sizeLods: this._sizeLods,
|
|
11791
|
+
lodPlanes: this._lodPlanes,
|
|
11792
|
+
sigmas: this._sigmas
|
|
11793
|
+
} = _createPlanes(_lodMax));
|
|
11794
|
+
|
|
11786
11795
|
if (this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width) {
|
|
11787
11796
|
if (this._pingPongRenderTarget !== null) {
|
|
11788
11797
|
this._dispose();
|
|
@@ -15303,7 +15312,7 @@ function WebGLRenderState(extensions, capabilities) {
|
|
|
15303
15312
|
function WebGLRenderStates(extensions, capabilities) {
|
|
15304
15313
|
let renderStates = new WeakMap();
|
|
15305
15314
|
|
|
15306
|
-
function get(scene, renderCallDepth) {
|
|
15315
|
+
function get(scene, renderCallDepth = 0) {
|
|
15307
15316
|
const renderStateArray = renderStates.get(scene);
|
|
15308
15317
|
let renderState;
|
|
15309
15318
|
|
|
@@ -36040,3 +36049,4 @@ exports.ZeroSlopeEnding = ZeroSlopeEnding;
|
|
|
36040
36049
|
exports.ZeroStencilOp = ZeroStencilOp;
|
|
36041
36050
|
exports._SRGBAFormat = _SRGBAFormat;
|
|
36042
36051
|
exports.sRGBEncoding = sRGBEncoding;
|
|
36052
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhyZWUuY2pzIiwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/build/three.js
CHANGED
|
@@ -11785,6 +11785,15 @@
|
|
|
11785
11785
|
|
|
11786
11786
|
const cubeUVRenderTarget = _createRenderTarget(width, height, params);
|
|
11787
11787
|
|
|
11788
|
+
const {
|
|
11789
|
+
_lodMax
|
|
11790
|
+
} = this;
|
|
11791
|
+
({
|
|
11792
|
+
sizeLods: this._sizeLods,
|
|
11793
|
+
lodPlanes: this._lodPlanes,
|
|
11794
|
+
sigmas: this._sigmas
|
|
11795
|
+
} = _createPlanes(_lodMax));
|
|
11796
|
+
|
|
11788
11797
|
if (this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width) {
|
|
11789
11798
|
if (this._pingPongRenderTarget !== null) {
|
|
11790
11799
|
this._dispose();
|
|
@@ -15305,7 +15314,7 @@
|
|
|
15305
15314
|
function WebGLRenderStates(extensions, capabilities) {
|
|
15306
15315
|
let renderStates = new WeakMap();
|
|
15307
15316
|
|
|
15308
|
-
function get(scene, renderCallDepth) {
|
|
15317
|
+
function get(scene, renderCallDepth = 0) {
|
|
15309
15318
|
const renderStateArray = renderStates.get(scene);
|
|
15310
15319
|
let renderState;
|
|
15311
15320
|
|
|
@@ -36046,3 +36055,4 @@
|
|
|
36046
36055
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
36047
36056
|
|
|
36048
36057
|
}));
|
|
36058
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhyZWUuanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|