Skip to content

Commit

Permalink
Remove extra import for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Dec 23, 2023
1 parent b2edfb2 commit c14bfb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/useBoxProjectedEnv.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as THREE from 'three'
import * as React from 'react'
import { applyProps, ReactThreeFiber } from '@react-three/fiber'
import { IUniform } from 'three'

// credits for the box-projecting shader code go to codercat (https://codercat.tk)
// and @0beqz https://gist.github.com/0beqz/8d51b4ae16d68021a09fb504af708fca
Expand Down Expand Up @@ -55,7 +54,7 @@ interface MaterialShader {
vertexShader: string
fragmentShader: string
defines: { [define: string]: string | number | boolean } | undefined
uniforms: { [uniform: string]: IUniform }
uniforms: { [uniform: string]: THREE.IUniform }
}

function boxProjectedEnvMap(shader: MaterialShader, envMapPosition: THREE.Vector3, envMapSize: THREE.Vector3) {
Expand Down

0 comments on commit c14bfb2

Please sign in to comment.