From 9889fbaeba7d149b0b425d170507a8a2535ffcc4 Mon Sep 17 00:00:00 2001 From: liteng <930372551@qq.com> Date: Mon, 17 Dec 2018 19:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E6=9D=BF=E6=94=B9=E5=90=8D=E5=B9=B3?= =?UTF-8?q?=E9=9D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/editor/menubar/GeometryMenu.js | 2 +- ShadowEditor.Web/src/object/geometry/Plane.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ShadowEditor.Web/src/editor/menubar/GeometryMenu.js b/ShadowEditor.Web/src/editor/menubar/GeometryMenu.js index 177e1f8c..38513e6a 100644 --- a/ShadowEditor.Web/src/editor/menubar/GeometryMenu.js +++ b/ShadowEditor.Web/src/editor/menubar/GeometryMenu.js @@ -49,7 +49,7 @@ GeometryMenu.prototype.render = function () { xtype: 'hr' }, { xtype: 'div', - html: '平板', + html: '平面', cls: 'option', onClick: this.addPlane.bind(this) }, { diff --git a/ShadowEditor.Web/src/object/geometry/Plane.js b/ShadowEditor.Web/src/object/geometry/Plane.js index 7892ade9..9f676383 100644 --- a/ShadowEditor.Web/src/object/geometry/Plane.js +++ b/ShadowEditor.Web/src/object/geometry/Plane.js @@ -1,12 +1,12 @@ /** - * 平板 + * 平面 * @param {*} geometry 几何体 * @param {*} material 材质 */ function Plane(geometry = new THREE.PlaneBufferGeometry(50, 50), material = new THREE.MeshStandardMaterial()) { THREE.Mesh.call(this, geometry, material); - this.name = '平板'; + this.name = '平面'; this.rotation.x = -Math.PI / 2; this.castShadow = true; this.receiveShadow = true;