Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Oct 12, 2023
1 parent 32395c7 commit 1a85ecf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/AccumulativeShadows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const accumulativeContext = /* @__PURE__ */ React.createContext<Accumulat

const SoftShadowMaterial = /* @__PURE__ */ shaderMaterial(
{
color: new THREE.Color(),
color: /* @__PURE__ */ new THREE.Color(),
blend: 2.0,
alphaTest: 0.75,
opacity: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/core/Facemesh.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export type FacemeshApi = {

const defaultLookAt = /* @__PURE__ */ new THREE.Vector3(0, 0, -1)

const normal = (function () {
const normal = /* @__PURE__ */ (function () {
const a = new THREE.Vector3()
const b = new THREE.Vector3()
const c = new THREE.Vector3()
Expand Down
2 changes: 1 addition & 1 deletion src/materials/WireframeMaterial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const WireframeMaterialShaders = {
`,
}

export const WireframeMaterial = shaderMaterial(
export const WireframeMaterial = /* @__PURE__ */ shaderMaterial(
WireframeMaterialShaders.uniforms,
WireframeMaterialShaders.vertex +
/* glsl */ `
Expand Down
2 changes: 1 addition & 1 deletion src/web/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createPortal, useFrame, useThree } from '@react-three/fiber'

const isOrthographicCamera = (def: any): def is THREE.OrthographicCamera =>
def && (def as THREE.OrthographicCamera).isOrthographicCamera
const col = new THREE.Color()
const col = /* @__PURE__ */ new THREE.Color()

/**
* In `@react-three/fiber` after `v8.0.0` but prior to `v8.1.0`, `state.size` contained only dimension
Expand Down

0 comments on commit 1a85ecf

Please sign in to comment.