@gnsx/react-three-fiber 10.0.0 → 10.0.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.cjs +2 -2
- package/dist/index.d.cts +1040 -1040
- package/dist/index.d.mts +1040 -1040
- package/dist/index.d.ts +1040 -1040
- package/dist/index.mjs +3 -3
- package/dist/legacy.cjs +2 -2
- package/dist/legacy.d.cts +1040 -1040
- package/dist/legacy.d.mts +1040 -1040
- package/dist/legacy.d.ts +1040 -1040
- package/dist/legacy.mjs +3 -3
- package/dist/webgpu/index.cjs +2 -2
- package/dist/webgpu/index.d.cts +1040 -1040
- package/dist/webgpu/index.d.mts +1040 -1040
- package/dist/webgpu/index.d.ts +1040 -1040
- package/dist/webgpu/index.mjs +3 -3
- package/package.json +6 -6
- package/react-reconciler/constants.d.ts +7 -7
- package/react-reconciler/index.d.ts +1044 -1044
package/dist/legacy.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as three from 'three';
|
|
2
|
-
import { WebGLRenderTarget, CubeReflectionMapping, EquirectangularReflectionMapping, CubeTextureLoader, Scene,
|
|
2
|
+
import { WebGLRenderTarget, CubeReflectionMapping, EquirectangularReflectionMapping, CubeTextureLoader, Scene, CubeRenderTarget, HalfFloatType, Color, Frustum, Matrix4, Group, BoxGeometry, MeshBasicNodeMaterial, Mesh, Node, NodeUpdateType, Layers, SRGBColorSpace, RGBAFormat, UnsignedByteType, Vector3, Vector2, TextureLoader, Texture as Texture$1, Raycaster, OrthographicCamera, PerspectiveCamera, PCFShadowMap, VSMShadowMap, BasicShadowMap, ACESFilmicToneMapping, WebGLRenderer } from 'three';
|
|
3
3
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default, { useLayoutEffect, useRef, useMemo, useEffect, useContext, useImperativeHandle, useCallback, useState } from 'react';
|
|
@@ -325,7 +325,7 @@ function EnvironmentPortal({
|
|
|
325
325
|
const camera = React.useRef(null);
|
|
326
326
|
const [virtualScene] = React.useState(() => new Scene());
|
|
327
327
|
const fbo = React.useMemo(() => {
|
|
328
|
-
const fbo2 = new
|
|
328
|
+
const fbo2 = new CubeRenderTarget(resolution);
|
|
329
329
|
fbo2.texture.type = HalfFloatType;
|
|
330
330
|
return fbo2;
|
|
331
331
|
}, [resolution]);
|
|
@@ -3439,7 +3439,7 @@ function advance(timestamp) {
|
|
|
3439
3439
|
getScheduler().step(timestamp);
|
|
3440
3440
|
}
|
|
3441
3441
|
|
|
3442
|
-
const version = "10.0.
|
|
3442
|
+
const version = "10.0.1";
|
|
3443
3443
|
const packageData = {
|
|
3444
3444
|
version: version};
|
|
3445
3445
|
|
package/dist/webgpu/index.cjs
CHANGED
|
@@ -347,7 +347,7 @@ function EnvironmentPortal({
|
|
|
347
347
|
const camera = React__namespace.useRef(null);
|
|
348
348
|
const [virtualScene] = React__namespace.useState(() => new webgpu.Scene());
|
|
349
349
|
const fbo = React__namespace.useMemo(() => {
|
|
350
|
-
const fbo2 = new webgpu.
|
|
350
|
+
const fbo2 = new webgpu.CubeRenderTarget(resolution);
|
|
351
351
|
fbo2.texture.type = webgpu.HalfFloatType;
|
|
352
352
|
return fbo2;
|
|
353
353
|
}, [resolution]);
|
|
@@ -3461,7 +3461,7 @@ function advance(timestamp) {
|
|
|
3461
3461
|
getScheduler().step(timestamp);
|
|
3462
3462
|
}
|
|
3463
3463
|
|
|
3464
|
-
const version = "10.0.
|
|
3464
|
+
const version = "10.0.1";
|
|
3465
3465
|
const packageData = {
|
|
3466
3466
|
version: version};
|
|
3467
3467
|
|