rhodonite 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ There are three package versions of Rhodonite: CommmonJS, ESModule and UMD.
|
|
|
90
90
|
|
|
91
91
|
#### Using CommonJS package
|
|
92
92
|
|
|
93
|
-
You need a bundler
|
|
93
|
+
You need a bundler (e.g. Webpack) to import the Rhodonite CommonJS package.
|
|
94
94
|
|
|
95
95
|
```typescript
|
|
96
96
|
import Rn from 'rhodonite';
|
|
@@ -111,7 +111,7 @@ async function load() {
|
|
|
111
111
|
}
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
#### Using ESModule package
|
|
115
115
|
|
|
116
116
|
You don't need any bundler.
|
|
117
117
|
|
|
@@ -151,7 +151,7 @@ async function load() {
|
|
|
151
151
|
}
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
#### Using UMD package
|
|
155
155
|
|
|
156
156
|
See the last part of https://github.com/actnwit/RhodoniteTS/wiki/Install .
|
|
157
157
|
|
package/VERSION-FILE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
v0.8.
|
|
2
|
-
|
|
1
|
+
v0.8.1-0-g9807ba2e-dirty
|
|
2
|
+
feat/fixed-length-of-center-to-eye
|
|
@@ -8,6 +8,8 @@ export declare class OrbitCameraController extends AbstractCameraController impl
|
|
|
8
8
|
scaleOfLengthCenterToCamera: number;
|
|
9
9
|
moveSpeed: number;
|
|
10
10
|
followTargetAABB: boolean;
|
|
11
|
+
private __fixedDolly;
|
|
12
|
+
private __fixedLengthOfCenterToEye;
|
|
11
13
|
private __isMouseDown;
|
|
12
14
|
private __lastMouseDownTimeStamp;
|
|
13
15
|
private __lastMouseUpTimeStamp;
|
|
@@ -123,4 +125,6 @@ export declare class OrbitCameraController extends AbstractCameraController impl
|
|
|
123
125
|
get isMouseDown(): boolean;
|
|
124
126
|
get lastMouseDownTimeStamp(): number;
|
|
125
127
|
get lastMouseUpTimeStamp(): number;
|
|
128
|
+
setFixedDollyTrue(lengthOfCenterToEye: number): void;
|
|
129
|
+
unsetFixedDolly(): void;
|
|
126
130
|
}
|