From a64f84c7c1a9b73ec7378e5888c00d5a70939698 Mon Sep 17 00:00:00 2001 From: ycw Date: Fri, 9 Oct 2020 07:08:41 +0800 Subject: [PATCH] -> 0.1.4 --- README.md | 11 ++++------- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 14100bc..e2ee6fd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ A bare vertex color example. ## Installation -Via npm ( `npm i ycw/three-csg-modeller#v0.1.3` ) +Via npm ( `npm i ycw/three-csg-modeller#v0.1.4` ) ```js import Modeller from "three-csg-modeller" @@ -32,7 +32,7 @@ import Modeller from "three-csg-modeller" Via cdn ```js -import Modeller from "https://cdn.jsdelivr.net/gh/ycw/three-csg-modeller@0.1.3/src/index.js" +import Modeller from "https://cdn.jsdelivr.net/gh/ycw/three-csg-modeller@0.1.4/src/index.js" ``` ## Usage @@ -59,9 +59,7 @@ const mesh = model.build(); - Construct a model from `mesh`, return a `Model` instance. - Input `mesh` must hold a `BufferGeometry` instead of `Geometry`. That `BufferGeometry` must contain attribute `position` and may optionally - include attributes `normal`, `uv` and `color`. -- Both indexed and non-indexed buffer geometry are supported. -- Multi-material is supported. + include attributes `normal`, `uv` and `color`. ### `Model` @@ -79,8 +77,7 @@ const mesh = model.build(); - This model remains unchanged. `.build()` -- Build a `Mesh` from model. The mesh holds a "indexed" `BufferGeoemtry`, its - render groups have been grouped by materials; unused materials are plucked. +- Build a `Mesh` from model. The mesh holds an "indexed" `BufferGeometry`. ## Credits diff --git a/package-lock.json b/package-lock.json index e7a12de..6f111f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "three-csg-modeller", - "version": "0.1.3", + "version": "0.1.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bc7c9a1..443e3a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "three-csg-modeller", - "version": "0.1.3", + "version": "0.1.4", "description": "Solid mesh modeling for three.js", "author": "ycw (https://github.com/ycw)", "main": "src/index.js",