Skip to content

Commit

Permalink
fix: types off for envmap rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Apr 3, 2024
1 parent 03ec48e commit 53f8f80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/Environment.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { useThree, createPortal, useFrame, extend, Object3DNode, Vector3, applyProps } from '@react-three/fiber'
import { useThree, createPortal, useFrame, extend, Object3DNode, Euler, applyProps } from '@react-three/fiber'
import { WebGLCubeRenderTarget, Texture, Scene, CubeCamera, HalfFloatType, CubeTexture } from 'three'
import { GroundProjectedEnv as GroundProjectedEnvImpl } from 'three-stdlib'
import { PresetsType } from '../helpers/environment-assets'
Expand All @@ -17,9 +17,9 @@ export type EnvironmentProps = {
blur?: number
backgroundBlurriness?: number
backgroundIntensity?: number
backgroundRotation?: Vector3
backgroundRotation?: Euler
environmentIntensity?: number
environmentRotation?: Vector3
environmentRotation?: Euler

map?: Texture
preset?: PresetsType
Expand Down

0 comments on commit 53f8f80

Please sign in to comment.