فهرست منبع

Merge branch 'master' of github.com:NASA-AMMOS/3DTilesRendererJS into master

Garrett Johnson 4 سال پیش
والد
کامیت
bd8290dfee
4فایلهای تغییر یافته به همراه3 افزوده شده و 5 حذف شده
  1. 1 1
      CHANGELOG.md
  2. 1 1
      example/FlyOrbitControls.js
  3. 0 2
      example/index.js
  4. 1 1
      example/ionExample.js

+ 1 - 1
CHANGELOG.md

@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
-## Unreleased
+## [0.2.3] - 2020-12-30
 ### Added
 - `getOrientedBounds` function to `TilesRenderer`.
 - `preprocessURL` function to `TilesRenderer`.

+ 1 - 1
example/FlyOrbitControls.js

@@ -44,7 +44,7 @@ export class FlyOrbitControls extends OrbitControls {
 		let upHeld = false;
 		let downHeld = false;
 
-		let originalDistance = 0
+		let originalDistance = 0;
 		let originalMinDistance = 0;
 		let originalMaxDistance = 0;
 		let rafHandle = - 1;

+ 0 - 2
example/index.js

@@ -26,8 +26,6 @@ import {
 	TorusBufferGeometry,
 	OrthographicCamera,
 	sRGBEncoding,
-	Vector4,
-	Vector3,
 } from 'three';
 import { FlyOrbitControls } from './FlyOrbitControls.js';
 import { BufferGeometryUtils } from 'three/examples/jsm/utils/BufferGeometryUtils.js';

+ 1 - 1
example/ionExample.js

@@ -126,7 +126,7 @@ function setupTiles() {
 
 function isInt( input ) {
 
-	return ( typeof input === 'string' ) ? ! isNaN( input ) && ! isNaN( parseFloat( input, 10 ) ) && Number.isInteger( parseFloat( input, 10 ) ) : Number.isInteger( input );
+	return ( typeof input === 'string' ) ? ! isNaN( input ) && ! isNaN( parseFloat( input ) ) && Number.isInteger( parseFloat( input ) ) : Number.isInteger( input );
 
 }