mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-27 02:43:04 +01:00
enable axises for 3d viewer
This commit is contained in:
parent
0569f5392b
commit
b37e1baed3
1 changed files with 3 additions and 3 deletions
|
|
@ -82,9 +82,9 @@ function Viewer(bus, container) {
|
|||
axisGeom.vertices.push(axis.multiply(1000).three());
|
||||
scene.add(new THREE.Line(axisGeom, lineMaterial));
|
||||
}
|
||||
// addAxis(AXIS.X, 0xFF0000);
|
||||
// addAxis(AXIS.Y, 0x00FF00);
|
||||
// addAxis(AXIS.Z, 0x0000FF);
|
||||
addAxis(AXIS.X, 0xFF0000);
|
||||
addAxis(AXIS.Y, 0x00FF00);
|
||||
addAxis(AXIS.Z, 0x0000FF);
|
||||
|
||||
this.updateControlsAndHelpers = function() {
|
||||
trackballControls.update();
|
||||
|
|
|
|||
Loading…
Reference in a new issue