From 5c8a144b3adf257a3c5cabc9289a83166010af31 Mon Sep 17 00:00:00 2001 From: Garrett Johnson Date: Mon, 18 Sep 2023 02:16:34 -0700 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7573727..c148ada 100644 --- a/README.md +++ b/README.md @@ -101,13 +101,13 @@ Generate the edge geometry using a generator function. ### .generateAsync ```js -async generateAsync( +generateAsync( geometry : MeshBVH | BufferGeometry, options : { onProgress: ( percent : Number ) => void, signal: AbortSignal, } -) : BufferGeometry +) : Promise ``` Generate the geometry with a promise-style API. @@ -148,13 +148,13 @@ Generate the geometry using a generator function. ### .generateAsync ```js -async generateAsync( +generateAsync( geometry : BufferGeometry, options : { onProgress: ( percent : Number ) => void, signal: AbortSignal, } -) : BufferGeometry +) : Promise ``` Generate the silhouette geometry with a promise-style API.