From 8ad0747df635e96becc6fb98d57c6d1d23c1c6bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=9C=E7=81=AF?= Date: Mon, 24 Jul 2023 22:45:18 +0800 Subject: [PATCH] ready update to v1.2.10 --- package.json | 2 +- src/lsystem.ts | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/package.json b/package.json index ef3719c..35494ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pureeval/voxel-geometry", - "version": "1.2.9", + "version": "1.2.10", "type": "module", "description": "voxel-geometry", "devDependencies": { diff --git a/src/lsystem.ts b/src/lsystem.ts index 6f4fa19..d8624c5 100644 --- a/src/lsystem.ts +++ b/src/lsystem.ts @@ -95,17 +95,6 @@ function leaf(n: number): Space { ); } -function triangle(n: number): Space { - return lsystem( - 'F+F+F', - { - F: 'F-F+F' - }, - n, - (Math.PI / 3) * 2 - ); -} - function quadratic_gosper(n: number): Space { return lsystem( '-YF', @@ -171,7 +160,6 @@ function rings(n: number): Space { export { lsystem, leaf, - triangle, quadratic_gosper, square_sierpinski, crystal,