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
+14
View File
@@ -0,0 +1,14 @@
import type { TypedArray } from "./ctypes";
import { Vector2, Vector3 } from "three";
/**
* Helpers for converting buffers to and from Three.js objects
*/
export declare function bufferToVectors(buffer: TypedArray, stride: 3): Vector3[];
export declare function bufferToVectors(buffer: TypedArray, stride: 2): Vector2[];
/**
* Transforms a passed Vector2 or Vector3 array to a points buffer
*
* @param vectorArray
* @returns
*/
export declare function vectorsToBuffer(vectorArray: Vector2[] | Vector3[]): Float32Array;