Simplify z-scaling calculations in generateCapMeshes
This commit is contained in:
parent
e3a4018582
commit
233216c284
2 changed files with 8 additions and 15 deletions
|
@ -424,13 +424,6 @@ export class SceneView extends EventTarget {
|
|||
|
||||
// Set z scaling factor
|
||||
setZScale(scale: number) {
|
||||
// Update extent
|
||||
//this._extent = {
|
||||
// ...this._extent,
|
||||
// zmin: (scale * this._extent.zmin) / this._scene.scale.z,
|
||||
// zmax: (scale * this._extent.zmax) / this._scene.scale.z,
|
||||
//};
|
||||
|
||||
// Set scale factor
|
||||
this._scene.scale.set(1, 1, scale);
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue