更新包版本 使用ts2.7

pull/639629/MERGE
ChenX 7 years ago
parent c210cc07d9
commit d45ecf7e85

7907
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -47,7 +47,7 @@
"style-loader": "^0.20.1",
"ts-jest": "^22.0.2",
"typed-css-modules": "^0.3.1",
"typescript": "^2.6.2",
"typescript": "^2.7.1",
"typings": "^2.1.1",
"typings-for-css-modules-loader": "^1.7.0",
"url-loader": "^0.6.2",
@ -64,9 +64,9 @@
"expr-eval": "^1.2.1",
"golden-layout": "^1.5.9",
"jquery": "^3.3.1",
"lodash": "^4.17.4",
"lodash": "^4.17.5",
"mobx": "^3.4.1",
"mobx-react": "^4.3.5",
"mobx-react": "^4.4.0",
"react": "^16.2.0",
"react-addons-css-transition-group": "^15.6.2",
"react-color": "^2.13.8",

@ -1,6 +1,6 @@
import { SelectSetBase } from './SelectSet';
import { Viewer } from '../GraphicsSystem/Viewer';
import { Vector3 } from 'three';
/**
*
@ -11,10 +11,10 @@ import { Viewer } from '../GraphicsSystem/Viewer';
*/
export class SelectPick extends SelectSetBase
{
m_PickPoint: THREE.Vector3;
constructor(view: Viewer, pt: THREE.Vector3)
m_PickPoint: Vector3;
constructor(view: Viewer, pt: Vector3)
{
super(view);
this.m_PickPoint = pt.clone();
}
}
}

@ -1,3 +1,5 @@
import { Vector2 } from "three";
export class Matrix2
{
el = [1, 0, 0, 1];
@ -9,7 +11,7 @@ export class Matrix2
te[2] = n12; te[3] = n22;
return this;
}
applyVec2(vec: THREE.Vector2)
applyVec2(vec: Vector2)
{
let x = vec.x, y = vec.y;
let e = this.el;

@ -1,6 +1,8 @@
import { PromptBlock } from "./PromptBlock";
import { DynamicInputManage } from "./DynamicInputManage";
import { RealDynamicInput } from "./RealDynamicInput";
import { Vector3 } from 'three';
import { DynamicInputManage } from './DynamicInputManage';
import { PromptBlock } from './PromptBlock';
import { RealDynamicInput } from './RealDynamicInput';
export class GetDistancePromptBlock extends PromptBlock
{
@ -15,7 +17,7 @@ export class GetDistancePromptBlock extends PromptBlock
}
//设置输入距离的位置
set ValuePostion(v: THREE.Vector3)
set ValuePostion(v: Vector3)
{
this.valueDynIpt.Fixed = true;
this.valueDynIpt.SetPosition(v.x, v.y);

Loading…
Cancel
Save