Browse Source
ItemTypeLineToolbox -> ToolboxLine
ItemTypeBase -> ItemType
ItemTypeLineBase -> ItemTypeLine
master
12 changed files with 686 additions and 690 deletions
@ -1,20 +1,17 @@ |
|||||
import * as THREE from 'three' |
import * as THREE from 'three' |
||||
import type { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer' |
import Toolbox from '@/model/itemType/Toolbox.ts' |
||||
import ItemTypeBaseToolbox from '@/model/itemType/ItemTypeBaseToolbox.ts' |
import type ItemTypeLine from '@/model/itemType/ItemTypeLine.ts' |
||||
import type ItemTypeLineBase from '@/model/itemType/ItemTypeLineBase.ts' |
|
||||
|
|
||||
let pdFn, pmFn, puFn |
|
||||
|
|
||||
/** |
/** |
||||
* 线条工具箱 |
* 线条工具箱 |
||||
*/ |
*/ |
||||
export default class ItemTypeLineToolbox extends ItemTypeBaseToolbox { |
export default class ToolboxLine extends Toolbox { |
||||
/** |
/** |
||||
* 临时线条 |
* 临时线条 |
||||
*/ |
*/ |
||||
tempLine?: THREE.Line |
tempLine?: THREE.Line |
||||
|
|
||||
get itemType(): ItemTypeLineBase { |
get itemType(): ItemTypeLine { |
||||
return this._itemType |
return this._itemType |
||||
} |
} |
||||
|
|
||||
Loading…
Reference in new issue