Skip to content

Commit

Permalink
Merge pull request #697 from obrhaberer/patch-2
Browse files Browse the repository at this point in the history
#694 BVHShaderGLSL type-definition added
  • Loading branch information
gkjohnson authored Aug 23, 2024
2 parents 0b5628e + 6bac5da commit bd391f2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,17 @@ export class MeshBVHUniformStruct {

}

export const BVHShaderGLSL: {
bvh_distance_functions: string;
bvh_ray_functions: string;
bvh_struct_definitions: string;
common_functions: string;
};

// backwards compatibility
export const shaderStructs: string;
export const shaderFunctions: string;
export const shaderDistanceFunction: string;
export const shaderIntersectFunction: string;

// Math classes
export class ExtendedTriangle extends Triangle {
Expand Down

0 comments on commit bd391f2

Please sign in to comment.