star_mod_renderer
Advanced tools
Comparing version 1.0.55 to 1.0.57
@@ -6,3 +6,3 @@ import * as THREE from 'star_mod_custom_three'; | ||
constructor(object, domElement, mode = 'perspective') { | ||
constructor(object, domElement, mode = 'perspective', platform = 'pc') { | ||
@@ -16,3 +16,3 @@ super(); | ||
this.panSpeed = 0.002; | ||
this.zoomSpeed = 0.1; | ||
this.zoomSpeed = platform === 'mobile' ? 0.1 * 0.25 : 0.1; | ||
this.rotationSpeed = 0.005; | ||
@@ -19,0 +19,0 @@ this.mode = mode; |
@@ -0,0 +0,0 @@ import * as THREE from 'star_mod_custom_three'; |
@@ -0,0 +0,0 @@ import { FBXLoader } from "./FBXLoader"; |
@@ -0,0 +0,0 @@ import * as THREE from 'star_mod_custom_three'; |
{ | ||
"name": "star_mod_renderer", | ||
"version": "1.0.55", | ||
"version": "1.0.57", | ||
"description": "star mod project render auxiliary", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -612,3 +612,3 @@ /** | ||
} | ||
this.cameraControls = new EditorControls(this.camera, this.dom); | ||
this.cameraControls = new EditorControls(this.camera, this.dom, this.options.platform); | ||
this.camera.zoom = 1; | ||
@@ -615,0 +615,0 @@ if (this.mode.isEdit) { |
@@ -0,0 +0,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
388843