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;