Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Sep 23, 2024
1 parent 69ad0f5 commit cda9ff1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions types/three/examples/jsm/utils/GeometryCompressionUtils.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { BufferGeometry, Mesh } from 'three';
import { BufferGeometry, Mesh } from "three";

/**
* Make the input geometry's normal attribute encoded and compressed by 3 different methods.
*/
declare function compressNormals(geometry: BufferGeometry, encodeMethod: "DEFAULT" | "OCT1Byte" | "OCT2Byte" | "ANGLES"): void;
declare function compressNormals(
geometry: BufferGeometry,
encodeMethod: "DEFAULT" | "OCT1Byte" | "OCT2Byte" | "ANGLES",
): void;

/**
* Make the input geometry's position attribute encoded and compressed.
Expand All @@ -15,8 +18,4 @@ declare function compressPositions(geometry: BufferGeometry): void;
*/
declare function compressUvs(geometry: BufferGeometry): void;

export {
compressNormals,
compressPositions,
compressUvs,
};
export { compressNormals, compressPositions, compressUvs };

0 comments on commit cda9ff1

Please sign in to comment.