Skip to content

Commit

Permalink
fix: remove console (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Feb 27, 2023
1 parent a4a6ef3 commit 5faa042
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/core/Caustics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ export const Caustics = React.forwardRef(
causticsMaterial.lightPlaneNormal = dirLightNearPlane.normal
causticsMaterial.lightPlaneConstant = dirLightNearPlane.constant

//console.log(causticsMaterial.lightDir)
causticsMaterial.near = camera.current.near
causticsMaterial.far = camera.current.far
causticsMaterial.resolution = resolution
Expand Down
1 change: 0 additions & 1 deletion src/core/Sparkles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export const Sparkles = React.forwardRef<THREE.Points, Props & PointsProps>(
!isFloat32Array(color) ? new THREE.Color(color) : color,
() => 1
)
console.log(colors)

useFrame((state) => {
if (ref.current && ref.current.material) (ref.current.material as any).time = state.clock.elapsedTime
Expand Down
1 change: 0 additions & 1 deletion src/core/SpotLight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ function useCommon(

React.useLayoutEffect(() => {
if (isSpotLight(spotlight.current)) {
console.log(spotlight.current)
spotlight.current.shadow.mapSize.set(width, height)
spotlight.current.shadow.needsUpdate = true
} else {
Expand Down

2 comments on commit 5faa042

@vercel
Copy link

@vercel vercel bot commented on 5faa042 Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@limichange
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be better to add a console check ESLINT rule.

Please sign in to comment.