Buckets:
ktongue/docker_container / simsite /frontend /node_modules /meshoptimizer /meshopt_simplifier.module.d.ts
| // This file is part of meshoptimizer library and is distributed under the terms of MIT License. | |
| // Copyright (C) 2016-2024, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) | |
| export type Flags = 'LockBorder' | 'Sparse' | 'ErrorAbsolute' | 'Prune'; | |
| export const MeshoptSimplifier: { | |
| supported: boolean; | |
| ready: Promise<void>; | |
| useExperimentalFeatures: boolean; | |
| compactMesh: (indices: Uint32Array) => [Uint32Array, number]; | |
| simplify: ( | |
| indices: Uint32Array, | |
| vertex_positions: Float32Array, | |
| vertex_positions_stride: number, | |
| target_index_count: number, | |
| target_error: number, | |
| flags?: Flags[] | |
| ) => [Uint32Array, number]; | |
| // Experimental; requires useExperimentalFeatures to be set to true | |
| simplifyWithAttributes: ( | |
| indices: Uint32Array, | |
| vertex_positions: Float32Array, | |
| vertex_positions_stride: number, | |
| vertex_attributes: Float32Array, | |
| vertex_attributes_stride: number, | |
| attribute_weights: number[], | |
| vertex_lock: Uint8Array | null, | |
| target_index_count: number, | |
| target_error: number, | |
| flags?: Flags[] | |
| ) => [Uint32Array, number]; | |
| getScale: (vertex_positions: Float32Array, vertex_positions_stride: number) => number; | |
| // Experimental; requires useExperimentalFeatures to be set to true | |
| simplifyPoints: ( | |
| vertex_positions: Float32Array, | |
| vertex_positions_stride: number, | |
| target_vertex_count: number, | |
| vertex_colors?: Float32Array, | |
| vertex_colors_stride?: number, | |
| color_weight?: number | |
| ) => Uint32Array; | |
| }; | |
Xet Storage Details
- Size:
- 1.45 kB
- Xet hash:
- a944131d2f59e2f4be6a7d66a05289e4a8a94dd2fe54c21689f063dd84e07eea
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.