Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/jsm/controls/DeviceOrientationControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher } from "../../../src/Three";
import { Camera, EventDispatcher } from '../../../src/Three';

export class DeviceOrientationControls extends EventDispatcher {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/controls/experimental/CameraControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TOUCH,
Vector2,
Vector3
} from "../../../../build/three.module.js";
} from '../../../../build/three.module.js';

var CameraControls = function ( object, domElement ) {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/csm/CSM.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ export class CSM {

}

import Frustum from "./Frustum.js";
import Frustum from './Frustum.js';
2 changes: 1 addition & 1 deletion examples/jsm/geometries/RoundedBoxBufferGeometry.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
BoxBufferGeometry,
Vector3
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

const tempNormal = new Vector3();
function getUv( faceDirVector, normal, uvAxis, projectionAxis, radius, sideLength ) {
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/3DMLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
LinearFilter,
ClampToEdgeWrapping,
TextureLoader
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

var Rhino3dmLoader = function ( manager ) {

Expand Down
4 changes: 2 additions & 2 deletions examples/jsm/loaders/LWOLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import {
RepeatWrapping,
TextureLoader,
Vector2
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

import { IFFParser } from "./lwo/IFFParser.js";
import { IFFParser } from './lwo/IFFParser.js';

var lwoTree;

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/LottieLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
Loader,
CanvasTexture,
NearestFilter
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

class LottieLoader extends Loader {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/MDDLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
FileLoader,
Loader,
NumberKeyframeTrack
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

var MDDLoader = function ( manager ) {

Expand Down
4 changes: 2 additions & 2 deletions examples/jsm/loaders/NodeMaterialLoader.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
DefaultLoadingManager,
FileLoader
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

import * as Nodes from "../nodes/Nodes.js";
import * as Nodes from '../nodes/Nodes.js';

var NodeMaterialLoader = function ( manager, library ) {

Expand Down
8 changes: 4 additions & 4 deletions examples/jsm/loaders/OBJLoader2.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import {
FileLoader,
Object3D,
Loader
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

import { OBJLoader2Parser } from "./obj2/OBJLoader2Parser.js";
import { MeshReceiver } from "./obj2/shared/MeshReceiver.js";
import { MaterialHandler } from "./obj2/shared/MaterialHandler.js";
import { OBJLoader2Parser } from './obj2/OBJLoader2Parser.js';
import { MeshReceiver } from './obj2/shared/MeshReceiver.js';
import { MaterialHandler } from './obj2/shared/MaterialHandler.js';

/**
* Creates a new OBJLoader2. Use it to load OBJ data from files or to parse OBJ data from arraybuffer or text.
Expand Down
12 changes: 6 additions & 6 deletions examples/jsm/loaders/OBJLoader2Parallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
// Imports only related to wrapper
import {
Object3D
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';
import {
CodeBuilderInstructions,
WorkerExecutionSupport
} from "./obj2/worker/main/WorkerExecutionSupport.js";
import { CodeSerializer } from "./obj2/utils/CodeSerializer.js";
import { OBJLoader2 } from "./OBJLoader2.js";
} from './obj2/worker/main/WorkerExecutionSupport.js';
import { CodeSerializer } from './obj2/utils/CodeSerializer.js';
import { OBJLoader2 } from './OBJLoader2.js';

// Imports only related to worker (when standard workers (modules aren't supported) are used)
import { OBJLoader2Parser } from "./obj2/OBJLoader2Parser.js";
import { OBJLoader2Parser } from './obj2/OBJLoader2Parser.js';
import {
WorkerRunner,
DefaultWorkerPayloadHandler,
ObjectManipulator
} from "./obj2/worker/parallel/WorkerRunner.js";
} from './obj2/worker/parallel/WorkerRunner.js';


/**
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/VOXLoader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
FileLoader,
Loader
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

function VOXLoader( manager ) {

Expand Down
6 changes: 3 additions & 3 deletions examples/jsm/loaders/lwo/IFFParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
*
**/

import { LoaderUtils } from "../../../../build/three.module.js";
import { LWO2Parser } from "./LWO2Parser.js";
import { LWO3Parser } from "./LWO3Parser.js";
import { LoaderUtils } from '../../../../build/three.module.js';
import { LWO2Parser } from './LWO2Parser.js';
import { LWO3Parser } from './LWO3Parser.js';

function IFFParser( ) {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/obj2/bridge/MtlObjBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Development repository: https://github.com/kaisalmen/WWOBJLoader
*/

import { MTLLoader } from "../../../../jsm/loaders/MTLLoader.js";
import { MTLLoader } from '../../../../jsm/loaders/MTLLoader.js';


const MtlObjBridge = {
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/obj2/shared/MaterialHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
MaterialLoader,
MeshStandardMaterial,
PointsMaterial
} from "../../../../../build/three.module.js";
} from '../../../../../build/three.module.js';


const MaterialHandler = function () {
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/loaders/obj2/shared/MeshReceiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
LineSegments,
Mesh,
Points
} from "../../../../../build/three.module.js";
} from '../../../../../build/three.module.js';


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* Development repository: https://github.com/kaisalmen/WWOBJLoader
*/

import { OBJLoader2Parser } from "../../OBJLoader2Parser.js";
import { OBJLoader2Parser } from '../../OBJLoader2Parser.js';

import {
WorkerRunner,
DefaultWorkerPayloadHandler
} from "./WorkerRunner.js";
} from './WorkerRunner.js';

new WorkerRunner( new DefaultWorkerPayloadHandler( new OBJLoader2Parser() ) );
2 changes: 1 addition & 1 deletion examples/jsm/math/MeshSurfaceSampler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Triangle,
Vector3
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

/**
* Utility class for sampling weighted random points on the surface of a mesh.
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/math/OBB.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
Matrix3,
Ray,
Vector3
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

// module scope helper variables

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/modifiers/CurveModifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
NearestFilter,
DynamicDrawUsage,
Matrix4
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

/**
* Make a new DataTexture to store the descriptions of the curves.
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/modifiers/EdgeSplitModifier.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry, Geometry } from "../../../src/Three";
import { BufferGeometry, Geometry } from '../../../src/Three';

export class EdgeSplitModifier {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/postprocessing/Pass.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
OrthographicCamera,
PlaneBufferGeometry,
Mesh
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

function Pass() {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/utils/GeometryCompressionUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
ShaderLib,
UniformsUtils,
Vector3
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

var GeometryCompressionUtils = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/utils/RoughnessMipmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
RawShaderMaterial,
Vector2,
WebGLRenderTarget
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

var _mipmapMaterial = _getMipmapMaterial();

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/webxr/XRControllerModelFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
Object3D,
Quaternion,
SphereBufferGeometry,
} from "../../../build/three.module.js";
} from '../../../build/three.module.js';

import { GLTFLoader } from '../loaders/GLTFLoader.js';

Expand Down