Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use three import for examples instead of relative file import #804

Merged
merged 1 commit into from
Feb 3, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnimationClip, Vector3 } from "../../../src/Three.js";
import { AnimationClip, Vector3 } from "three";

export interface AnimationClipCreator {
CreateRotationAnimation(period: number, axis: string): AnimationClip;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/animation/CCDIKSolver.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D, SkinnedMesh, Vector3 } from "../../../src/Three.js";
import { Object3D, SkinnedMesh, Vector3 } from "three";

// eslint-disable-next-line @typescript-eslint/naming-convention
export interface IKS {
Expand Down
12 changes: 1 addition & 11 deletions types/three/examples/jsm/animation/MMDAnimationHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
import {
AnimationClip,
AnimationMixer,
Audio,
Bone,
Camera,
Mesh,
Object3D,
Quaternion,
SkinnedMesh,
} from "../../../src/Three.js";
import { AnimationClip, AnimationMixer, Audio, Bone, Camera, Mesh, Object3D, Quaternion, SkinnedMesh } from "three";

import { CCDIKSolver } from "./CCDIKSolver.js";
import { MMDPhysics } from "./MMDPhysics.js";
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/animation/MMDPhysics.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Bone, Euler, Matrix4, Object3D, Quaternion, SkinnedMesh, Vector3 } from "../../../src/Three.js";
import { Bone, Euler, Matrix4, Object3D, Quaternion, SkinnedMesh, Vector3 } from "three";

export interface MMDPhysicsParameter {
unitStep?: number | undefined;
Expand Down
9 changes: 1 addition & 8 deletions types/three/examples/jsm/cameras/CinematicCamera.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import {
OrthographicCamera,
PerspectiveCamera,
Scene,
ShaderMaterial,
WebGLRenderer,
WebGLRenderTarget,
} from "../../../src/Three.js";
import { OrthographicCamera, PerspectiveCamera, Scene, ShaderMaterial, WebGLRenderer, WebGLRenderTarget } from "three";

import { BokehShaderUniforms } from "../shaders/BokehShader2.js";

Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/ArcballControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher, Raycaster, Scene, Vector3 } from "../../../src/Three.js";
import { Camera, EventDispatcher, Raycaster, Scene, Vector3 } from "three";

export enum ArcballControlsMouseActionOperations {
PAN = "PAN",
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/DragControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher, Object3D, Raycaster } from "../../../src/Three.js";
import { Camera, EventDispatcher, Object3D, Raycaster } from "three";

export interface DragControlsEventMap {
hoveron: { object: Object3D };
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/FirstPersonControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Vector3 } from "../../../src/Three.js";
import { Camera, Vector3 } from "three";

export class FirstPersonControls {
constructor(object: Camera, domElement?: HTMLElement);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/FlyControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher } from "../../../src/Three.js";
import { Camera, EventDispatcher } from "three";

export interface FlyControlsEventMap {
change: {};
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/MapControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera } from "../../../src/Three.js";
import { Camera } from "three";
import { OrbitControls } from "./OrbitControls.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/OrbitControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher, MOUSE, TOUCH, Vector3 } from "../../../src/Three.js";
import { Camera, EventDispatcher, MOUSE, TOUCH, Vector3 } from "three";

export interface OrbitControlsEventMap {
change: {};
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/PointerLockControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher, Vector3 } from "../../../src/Three.js";
import { Camera, EventDispatcher, Vector3 } from "three";

export class PointerLockControls extends EventDispatcher {
constructor(camera: Camera, domElement?: HTMLElement);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/TrackballControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, EventDispatcher, MOUSE, Vector3 } from "../../../src/Three.js";
import { Camera, EventDispatcher, MOUSE, Vector3 } from "three";

export interface TrackballControlsEventMap {
change: {};
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/controls/TransformControls.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Mesh, MOUSE, Object3D, Object3DEventMap, Quaternion, Raycaster, Vector3 } from "../../../src/Three.js";
import { Camera, Mesh, MOUSE, Object3D, Object3DEventMap, Quaternion, Raycaster, Vector3 } from "three";

export interface TransformControlsEventMap extends Object3DEventMap {
change: {};
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/csm/CSM.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, DirectionalLight, Material, Object3D, Vector2, Vector3 } from "../../../src/Three.js";
import { Camera, DirectionalLight, Material, Object3D, Vector2, Vector3 } from "three";

export type CSMMode = "uniform" | "logarithmic" | "practical" | "custom";

Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/csm/CSMFrustum.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Matrix4, Vector3 } from "../../../src/Three.js";
import { Matrix4, Vector3 } from "three";

export interface CSMFrustumVerticies {
near: Vector3[];
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/csm/CSMHelper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Mesh,
MeshBasicMaterial,
PlaneGeometry,
} from "../../../src/Three.js";
} from "three";

import { CSM } from "./CSM.js";

Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/curves/CurveExtras.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Curve, Vector3 } from "../../../src/Three.js";
import { Curve, Vector3 } from "three";

export class GrannyKnot extends Curve<Vector3> {
constructor();
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/curves/NURBSCurve.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Curve, Vector2, Vector3, Vector4 } from "../../../src/Three.js";
import { Curve, Vector2, Vector3, Vector4 } from "three";

export class NURBSCurve extends Curve<Vector3> {
degree: number;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/curves/NURBSSurface.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Vector2, Vector3, Vector4 } from "../../../src/Three.js";
import { Vector2, Vector3, Vector4 } from "three";

export class NURBSSurface {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/curves/NURBSUtils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Vector3, Vector4 } from "../../../src/Three.js";
import { Vector3, Vector4 } from "three";

/**
* Finds knot vector span.
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/curves/NURBSVolume.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Vector3, Vector4 } from "../../../src/Three.js";
import { Vector3, Vector4 } from "three";

export class NURBSVolume {
degree1: number;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/deprecated/Geometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
Vector2,
Vector3,
Vector4,
} from "../../../src/Three.js";
} from "three";

/**
* @deprecated Use Face3 instead.
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/effects/AnaglyphEffect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Matrix3, Scene, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Matrix3, Scene, WebGLRenderer } from "three";

export class AnaglyphEffect {
constructor(renderer: WebGLRenderer, width?: number, height?: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/effects/AsciiEffect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Scene, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Scene, WebGLRenderer } from "three";

export interface AsciiEffectOptions {
resolution?: number;
Expand Down
10 changes: 1 addition & 9 deletions types/three/examples/jsm/effects/OutlineEffect.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import {
Camera,
Scene,
Vector2,
Vector4,
WebGLRenderer,
WebGLRenderTarget,
WebGLShadowMap,
} from "../../../src/Three.js";
import { Camera, Scene, Vector2, Vector4, WebGLRenderer, WebGLRenderTarget, WebGLShadowMap } from "three";

export interface OutlineEffectParameters {
defaultThickness?: number | undefined;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Scene, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Scene, WebGLRenderer } from "three";

export class ParallaxBarrierEffect {
constructor(renderer: WebGLRenderer);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/effects/PeppersGhostEffect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Scene, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Scene, WebGLRenderer } from "three";

export class PeppersGhostEffect {
constructor(renderer: WebGLRenderer);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/effects/StereoEffect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Scene, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Scene, WebGLRenderer } from "three";

export class StereoEffect {
constructor(renderer: WebGLRenderer);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Scene } from "../../../src/Three.js";
import { Scene } from "three";

export class DebugEnvironment extends Scene {
constructor();
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/environments/RoomEnvironment.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Scene, WebGLRenderer } from "../../../src/Three.js";
import { Scene, WebGLRenderer } from "three";

export class RoomEnvironment extends Scene {
constructor(renderer?: WebGLRenderer);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/DRACOExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Mesh, Points } from "../../../src/Three.js";
import { Mesh, Points } from "three";

export interface DRACOExporterOptions {
decodeSpeed?: number;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/EXRExporter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* https://www.openexr.com/documentation/openexrfilelayout.pdf
*/

import { DataTexture, TextureDataType, WebGLRenderer, WebGLRenderTarget } from "../../../src/Three.js";
import { DataTexture, TextureDataType, WebGLRenderer, WebGLRenderTarget } from "three";

export const NO_COMPRESSION: 0;
export const ZIPS_COMPRESSION: 2;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/GLTFExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnimationClip, Material, Mesh, Object3D, Texture } from "../../../src/Three.js";
import { AnimationClip, Material, Mesh, Object3D, Texture } from "three";

export interface GLTFExporterOptions {
/**
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/KTX2Exporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Data3DTexture, DataTexture, WebGLRenderer, WebGLRenderTarget } from "../../../src/Three.js";
import { Data3DTexture, DataTexture, WebGLRenderer, WebGLRenderTarget } from "three";

export class KTX2Exporter {
parse(arg1: Data3DTexture | DataTexture | WebGLRenderer, arg2?: WebGLRenderTarget): Uint8Array;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/MMDExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D } from "../../../src/Three.js";
import { Object3D } from "three";

export class MMDExporter {
constructor();
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/OBJExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D } from "../../../src/Three.js";
import { Object3D } from "three";

export class OBJExporter {
constructor();
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/PLYExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D } from "../../../src/Three.js";
import { Object3D } from "three";

export interface PLYExporterOptionsBase {
excludeAttributes?: string[];
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/STLExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D } from "../../../src/Three.js";
import { Object3D } from "three";

export interface STLExporterOptionsBinary {
binary: true;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/exporters/USDZExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Object3D } from "../../../src/Three.js";
import { Object3D } from "three";

export interface USDZExporterOptions {
quickLookCompatible?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/geometries/BoxLineGeometry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry } from "../../../src/Three.js";
import { BufferGeometry } from "three";

export class BoxLineGeometry extends BufferGeometry {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/geometries/ConvexGeometry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry, Vector3 } from "../../../src/Three.js";
import { BufferGeometry, Vector3 } from "three";

export class ConvexGeometry extends BufferGeometry {
constructor(points?: Vector3[]);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/geometries/DecalGeometry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry, Euler, Mesh, Vector3 } from "../../../src/Three.js";
import { BufferGeometry, Euler, Mesh, Vector3 } from "three";

export class DecalGeometry extends BufferGeometry {
constructor(mesh: Mesh, position: Vector3, orientation: Euler, size: Vector3);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Curve, Vector3 } from "../../../src/Three.js";
import { Curve, Vector3 } from "three";

import { ParametricGeometry } from "./ParametricGeometry.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry, Vector3 } from "../../../src/Three.js";
import { BufferGeometry, Vector3 } from "three";

export class ParametricGeometry extends BufferGeometry {
constructor(func?: (u: number, v: number, target: Vector3) => void, slices?: number, stacks?: number);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoxGeometry } from "../../../src/Three.js";
import { BoxGeometry } from "three";

export class RoundedBoxGeometry extends BoxGeometry {
constructor(width?: number, height?: number, depth?: number, segments?: number, radius?: number);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry, WebGLRenderer, WebGLRenderTarget } from "../../../src/Three.js";
import { BufferGeometry, WebGLRenderer, WebGLRenderTarget } from "three";

export class SDFGeometryGenerator {
constructor(renderer: WebGLRenderer);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/geometries/TeapotGeometry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry } from "../../../src/Three.js";
import { BufferGeometry } from "three";

export class TeapotGeometry extends BufferGeometry {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/geometries/TextGeometry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExtrudeGeometry, ExtrudeGeometryOptions, Shape } from "../../../src/Three.js";
import { ExtrudeGeometry, ExtrudeGeometryOptions, Shape } from "three";

import { Font } from "../loaders/FontLoader.js";

Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/LightProbeHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LightProbe, Mesh } from "../../../src/Three.js";
import { LightProbe, Mesh } from "three";

export class LightProbeHelper extends Mesh {
constructor(lightProbe: LightProbe, size: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/OctreeHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ColorRepresentation, LineSegments } from "../../../src/Three.js";
import { ColorRepresentation, LineSegments } from "three";
import { Octree } from "../math/Octree.js";

export class OctreeHelper extends LineSegments {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Line, PositionalAudio } from "../../../src/Three.js";
import { Line, PositionalAudio } from "three";

export class PositionalAudioHelper extends Line {
constructor(audio: PositionalAudio, range?: number, divisionsInnerAngle?: number, divisionsOuterAngle?: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/RectAreaLightHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ColorRepresentation, Line, RectAreaLight } from "../../../src/Three.js";
import { ColorRepresentation, Line, RectAreaLight } from "three";

export class RectAreaLightHelper extends Line {
constructor(light: RectAreaLight, color?: ColorRepresentation);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/TextureHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Mesh, Texture } from "../../../src/Three.js";
import { Mesh, Texture } from "three";

export class TextureHelper extends Mesh {
texture: Texture;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/VertexNormalsHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LineSegments, Object3D } from "../../../src/Three.js";
import { LineSegments, Object3D } from "three";

export class VertexNormalsHelper extends LineSegments {
constructor(object: Object3D, size?: number, hex?: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/VertexTangentsHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LineSegments, Object3D } from "../../../src/Three.js";
import { LineSegments, Object3D } from "three";

export class VertexTangentsHelper extends LineSegments {
constructor(object: Object3D, size?: number, hex?: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/helpers/ViewHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Object3D, Vector3, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Object3D, Vector3, WebGLRenderer } from "three";

export class ViewHelper extends Object3D {
animating: boolean;
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/interactive/InteractiveGroup.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Group, Object3D, Object3DEventMap, Vector2, WebGLRenderer } from "../../../src/Three.js";
import { Camera, Group, Object3D, Object3DEventMap, Vector2, WebGLRenderer } from "three";

export interface InteractiveObject3DEventMap extends Object3DEventMap {
hoveron: { data: Vector2 };
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/interactive/SelectionBox.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera, Frustum, Mesh, Object3D, Scene, Vector3 } from "../../../src/Three.js";
import { Camera, Frustum, Mesh, Object3D, Scene, Vector3 } from "three";

export class SelectionBox {
constructor(camera: Camera, scene: Scene, deep?: number);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/interactive/SelectionHelper.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Vector2, WebGLRenderer } from "../../../src/Three.js";
import { Vector2, WebGLRenderer } from "three";

export class SelectionHelper {
constructor(renderer: WebGLRenderer, cssClassName: string);
Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/lights/LightProbeGenerator.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CubeTexture, LightProbe, WebGLCubeRenderTarget, WebGLRenderer } from "../../../src/Three.js";
import { CubeTexture, LightProbe, WebGLCubeRenderTarget, WebGLRenderer } from "three";

export namespace LightProbeGenerator {
function fromCubeTexture(cubeTexture: CubeTexture): LightProbe;
Expand Down
Loading
Loading