Skip to content

Commit

Permalink
chore: cred
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Aug 23, 2024
1 parent 2d550cd commit 67c7cab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Instances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ export const Merged: ForwardRefComponent<any, THREE.Group> = /* @__PURE__ */ Rea
}
)

/** Idea and implementation for global instances and instanced attributes by
/* Matias Gonzalez Fernandez https://x.com/matiNotFound
/* and Paul Henschel https://x.com/0xca0a
*/
export function createInstances() {
const context = React.createContext<Api>(null!)
return [
Expand Down

0 comments on commit 67c7cab

Please sign in to comment.