Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+9
View File
@@ -0,0 +1,9 @@
import * as THREE from 'three';
import { type ConstructorRepresentation } from '@react-three/fiber';
import { type MeshBVHUniformStruct } from 'three-mesh-bvh';
type UniformValue = THREE.Texture | THREE.TypedArray | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | MeshBVHUniformStruct | number | boolean | null;
type Uniforms = Record<string, UniformValue | Record<string, UniformValue> | Array<UniformValue>>;
export declare function shaderMaterial<U extends Uniforms, M extends THREE.ShaderMaterial & U>(uniforms: U, vertexShader: string, fragmentShader: string, onInit?: (material?: M) => void): ConstructorRepresentation<M> & {
key: string;
};
export {};