Browse Source

Merge pull request #20185 from linbingquan/dev-cleanup-src

src: use single quotes.
Mr.doob 5 years ago
parent
commit
e139603317

+ 11 - 11
src/extras/PMREMGenerator.js

@@ -12,17 +12,17 @@ import {
 	RGBM7Encoding,
 	UnsignedByteType,
 	sRGBEncoding
-} from "../constants.js";
-
-import { BufferAttribute } from "../core/BufferAttribute.js";
-import { BufferGeometry } from "../core/BufferGeometry.js";
-import { Mesh } from "../objects/Mesh.js";
-import { OrthographicCamera } from "../cameras/OrthographicCamera.js";
-import { PerspectiveCamera } from "../cameras/PerspectiveCamera.js";
-import { RawShaderMaterial } from "../materials/RawShaderMaterial.js";
-import { Vector2 } from "../math/Vector2.js";
-import { Vector3 } from "../math/Vector3.js";
-import { WebGLRenderTarget } from "../renderers/WebGLRenderTarget.js";
+} from '../constants.js';
+
+import { BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Mesh } from '../objects/Mesh.js';
+import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
+import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js';
+import { RawShaderMaterial } from '../materials/RawShaderMaterial.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Vector3 } from '../math/Vector3.js';
+import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget.js';
 
 const LOD_MIN = 4;
 const LOD_MAX = 8;

+ 3 - 3
src/renderers/webgl/WebGLAttributes.d.ts

@@ -1,6 +1,6 @@
-import { WebGLCapabilities } from "./WebGLCapabilities";
-import { BufferAttribute } from "../../core/BufferAttribute";
-import { InterleavedBufferAttribute } from "../../core/InterleavedBufferAttribute";
+import { WebGLCapabilities } from './WebGLCapabilities';
+import { BufferAttribute } from '../../core/BufferAttribute';
+import { InterleavedBufferAttribute } from '../../core/InterleavedBufferAttribute';
 
 export class WebGLAttributes {
 

+ 1 - 1
src/renderers/webgl/WebGLMaterials.js

@@ -1,4 +1,4 @@
-import { BackSide } from "../../constants.js";
+import { BackSide } from '../../constants.js';
 
 function WebGLMaterials( properties ) {
 

+ 4 - 4
src/scenes/Scene.d.ts

@@ -3,10 +3,10 @@ import { Material } from './../materials/Material';
 import { Object3D } from './../core/Object3D';
 import { Color } from '../math/Color';
 import { Texture } from '../textures/Texture';
-import { WebGLRenderer } from "../renderers/WebGLRenderer";
-import { Camera } from "../cameras/Camera";
-import { WebGLRenderTarget } from "../renderers/WebGLRenderTarget";
-import { WebGLCubeRenderTarget } from "../renderers/WebGLCubeRenderTarget";
+import { WebGLRenderer } from '../renderers/WebGLRenderer';
+import { Camera } from '../cameras/Camera';
+import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget';
+import { WebGLCubeRenderTarget } from '../renderers/WebGLCubeRenderTarget';
 
 // Scenes /////////////////////////////////////////////////////////////////////