|
|
|
@ -1,17 +1,15 @@
|
|
|
|
|
import * as THREE from 'three';
|
|
|
|
|
import { Vector3 } from 'three';
|
|
|
|
|
import * as xaop from 'xaop';
|
|
|
|
|
import { end } from 'xaop';
|
|
|
|
|
|
|
|
|
|
import { db } from '../ApplicationServices/Application';
|
|
|
|
|
import { Database } from '../DatabaseServices/Database';
|
|
|
|
|
import { Entity } from '../DatabaseServices/Entity';
|
|
|
|
|
import { cZeroVec, GetBox, GetBoxArr } from '../Geometry/GeUtils';
|
|
|
|
|
import { PlaneExt } from '../Geometry/Plane';
|
|
|
|
|
import { CameraControl } from './CameraControl';
|
|
|
|
|
import { CameraUpdate } from './CameraUpdate';
|
|
|
|
|
import { RenderType } from './Enum';
|
|
|
|
|
import { GripScene } from './GripScene';
|
|
|
|
|
import { PreViewer } from './PreViewer';
|
|
|
|
|
import { Vector3 } from 'three';
|
|
|
|
|
|
|
|
|
|
//导入其他js模块
|
|
|
|
|
require("three-CopyShader");
|
|
|
|
@ -29,7 +27,7 @@ export class Viewer
|
|
|
|
|
{
|
|
|
|
|
m_bNeedUpdate: boolean = true;
|
|
|
|
|
//相机类
|
|
|
|
|
m_CameraCtrl: CameraControl = new CameraControl();
|
|
|
|
|
m_CameraCtrl: CameraUpdate = new CameraUpdate();
|
|
|
|
|
//变换控制
|
|
|
|
|
m_LookTarget: THREE.Vector3 = new THREE.Vector3();
|
|
|
|
|
|
|
|
|
|