mxdraw 0.1.99 → 0.1.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,6 +105,17 @@ export default interface McGiWorldDraw {
105
105
  *
106
106
  */
107
107
  drawLines(points: THREE.Vector3[]): void;
108
+ /**
109
+ * 根据几何数据绘制直线
110
+ * @param points 点数组
111
+ * @returns
112
+ * @example
113
+ * ``` typescript
114
+ *
115
+ * ```
116
+ *
117
+ */
118
+ drawGeometryLines(geometry: THREE.Geometry): void;
108
119
  /**
109
120
  * 绘制圆
110
121
  * @param cen 圆的中心点 THREE.Vector3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxdraw",
3
- "version": "0.1.99",
3
+ "version": "0.1.100",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/mxdraw.umd.js",