@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.
@@ -1,5 +1,5 @@
1
1
  import * as webgpu from 'three/webgpu';
2
- import { RenderTarget, CubeReflectionMapping, EquirectangularReflectionMapping, CubeTextureLoader, Scene, WebGLCubeRenderTarget, 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, Vector4, PostProcessing } from 'three/webgpu';
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, Vector4, PostProcessing } from 'three/webgpu';
3
3
  import { Inspector } from 'three/addons/inspector/Inspector.js';
4
4
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
5
5
  import * as React from 'react';
@@ -326,7 +326,7 @@ function EnvironmentPortal({
326
326
  const camera = React.useRef(null);
327
327
  const [virtualScene] = React.useState(() => new Scene());
328
328
  const fbo = React.useMemo(() => {
329
- const fbo2 = new WebGLCubeRenderTarget(resolution);
329
+ const fbo2 = new CubeRenderTarget(resolution);
330
330
  fbo2.texture.type = HalfFloatType;
331
331
  return fbo2;
332
332
  }, [resolution]);
@@ -3440,7 +3440,7 @@ function advance(timestamp) {
3440
3440
  getScheduler().step(timestamp);
3441
3441
  }
3442
3442
 
3443
- const version = "10.0.0";
3443
+ const version = "10.0.1";
3444
3444
  const packageData = {
3445
3445
  version: version};
3446
3446
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnsx/react-three-fiber",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",
@@ -18,12 +18,12 @@
18
18
  "Dennis Smolek (https://github.com/dennissmolek)"
19
19
  ],
20
20
  "bugs": {
21
- "url": "https://github.com/pmndrs/react-three-fiber/issues"
21
+ "url": "https://github.com/directivegames/react-three-fiber/issues"
22
22
  },
23
- "homepage": "https://github.com/pmndrs/react-three-fiber#readme",
23
+ "homepage": "https://github.com/directivegames/react-three-fiber#readme",
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "git+https://github.com/pmndrs/react-three-fiber.git"
26
+ "url": "git+https://github.com/directivegames/react-three-fiber.git"
27
27
  },
28
28
  "collective": {
29
29
  "type": "opencollective",
@@ -68,14 +68,14 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/react-reconciler": "^0.32.3",
71
- "@types/three": "^0.181.0",
71
+ "@types/three": "^0.184.0",
72
72
  "@types/webxr": "*",
73
73
  "react-reconciler": "^0.33.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "react": ">=19.0 <19.3",
77
77
  "react-dom": ">=19.0 <19.3",
78
- "three": ">=0.181.2"
78
+ "three": ">=0.184.0"
79
79
  },
80
80
  "peerDependenciesMeta": {
81
81
  "react-dom": {
@@ -1,7 +1,7 @@
1
- export const DiscreteEventPriority = 0b0000000000000000000000000000001;
2
- export const ContinuousEventPriority = 0b0000000000000000000000000000100;
3
- export const DefaultEventPriority = 0b0000000000000000000000000010000;
4
- export const IdleEventPriority = 0b0100000000000000000000000000000;
5
- export const LegacyRoot = 0;
6
- export const ConcurrentRoot = 1;
7
- export const NoEventPriority = 0;
1
+ export const DiscreteEventPriority = 0b0000000000000000000000000000001;
2
+ export const ContinuousEventPriority = 0b0000000000000000000000000000100;
3
+ export const DefaultEventPriority = 0b0000000000000000000000000010000;
4
+ export const IdleEventPriority = 0b0100000000000000000000000000000;
5
+ export const LegacyRoot = 0;
6
+ export const ConcurrentRoot = 1;
7
+ export const NoEventPriority = 0;