modern/js/three_modules.js
2021-01-17 17:17:19 +01:00

63 lines
2.3 KiB
JavaScript
Executable File

import { WebGLRenderer } from "three/src/renderers/WebGLRenderer"
import { TextureLoader } from "three/src/loaders/TextureLoader"
import { FontLoader } from "three/src/loaders/FontLoader"
import { LoadingManager } from "three/src/loaders/LoadingManager"
import { JSONLoader } from "three/src/loaders/JSONLoader"
import { MeshStandardMaterial } from "three/src/materials/MeshStandardMaterial"
import { MeshBasicMaterial } from "three/src/materials/MeshBasicMaterial"
import { ShaderMaterial } from "three/src/materials/ShaderMaterial"
import { MeshPhysicalMaterial } from "three/src/materials/MeshPhysicalMaterial"
import { PerspectiveCamera } from "three/src/cameras/PerspectiveCamera"
import { Scene } from "three/src/scenes/Scene"
import { Geometry } from "three/src/core/Geometry"
import { BufferGeometry } from "three/src/core/BufferGeometry"
import { AxesHelper } from "three/src/helpers/AxesHelper"
import { BoxGeometry } from "three/src/geometries/BoxGeometry"
import { CylinderGeometry } from "three/src/geometries/CylinderGeometry"
import { SphereGeometry } from "three/src/geometries/SphereGeometry"
import { TextGeometry } from "three/src/geometries/TextGeometry"
import { PlaneGeometry } from "three/src/geometries/PlaneGeometry"
import { Mesh } from "three/src/objects/Mesh"
import { Object3D } from "three/src/core/Object3D"
import { Group } from "three/src/objects/Group"
import { AmbientLight } from "three/src/lights/AmbientLight"
import { RectAreaLight } from "three/src/lights/RectAreaLight"
import { Raycaster } from "three/src/core/Raycaster"
import { Vector2 } from "three/src/math/Vector2";
import { Vector3 } from "three/src/math/Vector3";
import { EquirectangularReflectionMapping, RepeatWrapping, AdditiveBlending, BackSide, CineonToneMapping} from "three/src/constants";
export {
AdditiveBlending,
BackSide,
WebGLRenderer,
TextureLoader,
MeshStandardMaterial,
MeshPhysicalMaterial,
AxesHelper,
Object3D,
ShaderMaterial,
PerspectiveCamera,
CineonToneMapping,
Scene,
AmbientLight,
RectAreaLight,
MeshBasicMaterial,
Raycaster,
Vector2,
Vector3,
FontLoader,
Geometry,
Group,
BoxGeometry,
CylinderGeometry,
SphereGeometry,
JSONLoader,
TextGeometry,
Mesh,
PlaneGeometry,
BufferGeometry,
EquirectangularReflectionMapping,
RepeatWrapping,
LoadingManager
};