@gnsx/react-three-fiber 10.0.1 → 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 +3 -3
- package/react-reconciler/constants.d.ts +7 -7
- package/react-reconciler/index.d.ts +1044 -1044
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webgpu from 'three/webgpu';
|
|
2
|
-
import { RenderTarget, CubeReflectionMapping, EquirectangularReflectionMapping, CubeTextureLoader, Scene,
|
|
2
|
+
import { RenderTarget, 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, CanvasTarget, Raycaster, OrthographicCamera, PerspectiveCamera, PCFShadowMap, VSMShadowMap, BasicShadowMap, ACESFilmicToneMapping, WebGPURenderer } from 'three/webgpu';
|
|
3
3
|
import { WebGLRenderTarget, WebGLRenderer } from 'three';
|
|
4
4
|
import { Inspector } from 'three/addons/inspector/Inspector.js';
|
|
5
5
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
@@ -316,7 +316,7 @@ function EnvironmentPortal({
|
|
|
316
316
|
const camera = React.useRef(null);
|
|
317
317
|
const [virtualScene] = React.useState(() => new Scene());
|
|
318
318
|
const fbo = React.useMemo(() => {
|
|
319
|
-
const fbo2 = new
|
|
319
|
+
const fbo2 = new CubeRenderTarget(resolution);
|
|
320
320
|
fbo2.texture.type = HalfFloatType;
|
|
321
321
|
return fbo2;
|
|
322
322
|
}, [resolution]);
|
|
@@ -3432,7 +3432,7 @@ function advance(timestamp) {
|
|
|
3432
3432
|
getScheduler().step(timestamp);
|
|
3433
3433
|
}
|
|
3434
3434
|
|
|
3435
|
-
const version = "10.0.
|
|
3435
|
+
const version = "10.0.1";
|
|
3436
3436
|
const packageData = {
|
|
3437
3437
|
version: version};
|
|
3438
3438
|
|
package/dist/legacy.cjs
CHANGED
|
@@ -346,7 +346,7 @@ function EnvironmentPortal({
|
|
|
346
346
|
const camera = React__namespace.useRef(null);
|
|
347
347
|
const [virtualScene] = React__namespace.useState(() => new three.Scene());
|
|
348
348
|
const fbo = React__namespace.useMemo(() => {
|
|
349
|
-
const fbo2 = new three.
|
|
349
|
+
const fbo2 = new three.CubeRenderTarget(resolution);
|
|
350
350
|
fbo2.texture.type = three.HalfFloatType;
|
|
351
351
|
return fbo2;
|
|
352
352
|
}, [resolution]);
|
|
@@ -3460,7 +3460,7 @@ function advance(timestamp) {
|
|
|
3460
3460
|
getScheduler().step(timestamp);
|
|
3461
3461
|
}
|
|
3462
3462
|
|
|
3463
|
-
const version = "10.0.
|
|
3463
|
+
const version = "10.0.1";
|
|
3464
3464
|
const packageData = {
|
|
3465
3465
|
version: version};
|
|
3466
3466
|
|