fixed xyz
This commit is contained in:
parent
6e6a1c0c1d
commit
17ed2905c2
1 changed files with 1 additions and 3 deletions
|
@ -41,7 +41,7 @@ import { TypedEvent } from "../helper/typed_event";
|
|||
import { Result } from "../helper/result";
|
||||
import { RobotModel } from "../model/robot_model";
|
||||
|
||||
Object3D.DEFAULT_UP = new Vector3(0, 0, 1);
|
||||
// Object3D.DEFAULT_UP = new Vector3(0, 0, 1);
|
||||
|
||||
export enum UserData {
|
||||
selectedObject = "selected_object",
|
||||
|
@ -359,10 +359,8 @@ export class CoreThreeRepository extends TypedEvent<any> {
|
|||
this.light();
|
||||
this.addListeners();
|
||||
const gridHelper = new GridHelper(1000, 100, 0x888888, 0x444444);
|
||||
gridHelper.geometry.rotateX(Math.PI * 0.5);
|
||||
gridHelper.userData = {};
|
||||
gridHelper.userData[UserData.cameraInitialization] = true;
|
||||
gridHelper.up.copy(new Vector3(0, 0, 1));
|
||||
|
||||
this.scene.add(gridHelper);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue