清理代码格式
This commit is contained in:
4
dist/createBoard.d.ts
vendored
4
dist/createBoard.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import * as THREE from 'three';
|
||||
import { Geometry, LineSegments } from 'three';
|
||||
import { Geometry, LineSegments, Shape, Vector2 } from 'three';
|
||||
export declare class Arc2d {
|
||||
m_StartAn: number;
|
||||
m_EndAn: number;
|
||||
@@ -9,7 +9,7 @@ export declare class Arc2d {
|
||||
m_Radius: number;
|
||||
constructor(p1: THREE.Vector2, p2: THREE.Vector2, bul: number);
|
||||
}
|
||||
export declare function createPath(pts: THREE.Vector2[], buls: number[], shapeOut?: THREE.Shape): THREE.Shape;
|
||||
export declare function createPath(pts: Vector2[], buls: number[], shapeOut?: Shape): Shape;
|
||||
export declare function getVec(data: object): THREE.Vector3;
|
||||
export declare function createBoard(boardData: object): {
|
||||
mesh: THREE.Mesh;
|
||||
|
2
dist/createBoard.js
vendored
2
dist/createBoard.js
vendored
@@ -34,7 +34,7 @@ class Arc2d {
|
||||
exports.Arc2d = Arc2d;
|
||||
//创建轮廓 通过点表和凸度
|
||||
function createPath(pts, buls, shapeOut) {
|
||||
let shape = shapeOut || new THREE.Shape();
|
||||
let shape = shapeOut || new three_1.Shape();
|
||||
if (pts.length === 0)
|
||||
return shape;
|
||||
let firstPt = pts[0];
|
||||
|
2
dist/createBoard.js.map
vendored
2
dist/createBoard.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user