diff --git a/docs/index.css b/docs/index.css
index 82d606b703ca8104aa0a828b2ce986f8ed0cb800..765453d5c8161164a016210f88a92f1f868fa0b4 100644
--- a/docs/index.css
+++ b/docs/index.css
@@ -1,205 +1,205 @@
@font-face {
- font-family: 'inconsolata';
- src: url('files/inconsolata.woff') format('woff');
- font-weight: normal;
- font-style: normal;
+ font-family: 'inconsolata';
+ src: url('files/inconsolata.woff') format('woff');
+ font-weight: normal;
+ font-style: normal;
}
*{
- box-sizing: border-box;
+ box-sizing: border-box;
}
html {
- height: 100%;
+ height: 100%;
}
body {
- background-color: #ffffff;
- margin: 0px;
- height: 100%;
- color: #555;
- font-family: 'inconsolata';
- font-size: 15px;
- line-height: 18px;
- overflow: hidden;
+ background-color: #ffffff;
+ margin: 0px;
+ height: 100%;
+ color: #555;
+ font-family: 'inconsolata';
+ font-size: 15px;
+ line-height: 18px;
+ overflow: hidden;
}
h1 {
- margin-top: 30px;
- margin-bottom: 40px;
- margin-left: 20px;
- font-size: 25px;
- font-weight: normal;
+ margin-top: 30px;
+ margin-bottom: 40px;
+ margin-left: 20px;
+ font-size: 25px;
+ font-weight: normal;
}
h2 {
- color: #454545;
- font-size: 18px;
- font-weight: normal;
+ color: #454545;
+ font-size: 18px;
+ font-weight: normal;
- margin-top: 20px;
- margin-left: 20px;
+ margin-top: 20px;
+ margin-left: 20px;
}
h3 {
- color: #666;
- font-size: 16px;
- font-weight: normal;
+ color: #666;
+ font-size: 16px;
+ font-weight: normal;
- margin-top: 20px;
- margin-left: 20px;
+ margin-top: 20px;
+ margin-left: 20px;
}
a {
- color: #2194CE;
- text-decoration: none;
+ color: #2194CE;
+ text-decoration: none;
}
#panel {
- position: fixed;
- left: 0px;
- width: 260px;
- height: 100%;
- overflow: auto;
- background: #fafafa;
+ position: fixed;
+ left: 0px;
+ width: 260px;
+ height: 100%;
+ overflow: auto;
+ background: #fafafa;
}
#panel ul {
- list-style-type: none;
- padding: 0px;
- margin-left: 20px;
+ list-style-type: none;
+ padding: 0px;
+ margin-left: 20px;
}
iframe {
- position: absolute;
- border: 0px;
- left: 260px;
- width: calc(100% - 260px);
- height: 100%;
- overflow: auto;
+ position: absolute;
+ border: 0px;
+ left: 260px;
+ width: calc(100% - 260px);
+ height: 100%;
+ overflow: auto;
}
.filterBlock{
- margin: 20px;
- position: relative;
+ margin: 20px;
+ position: relative;
}
.filterBlock p {
- margin: 0;
+ margin: 0;
}
#filterInput {
- width: 100%;
- padding: 5px;
- font-family: inherit;
- font-size: 15px;
- outline: none;
- border: 1px solid #dedede;
+ width: 100%;
+ padding: 5px;
+ font-family: inherit;
+ font-size: 15px;
+ outline: none;
+ border: 1px solid #dedede;
}
#filterInput:focus{
- border: 1px solid #2194CE;
+ border: 1px solid #2194CE;
}
#clearFilterButton {
- position: absolute;
- right: 6px;
- top: 50%;
- margin-top: -8px;
- width: 16px;
- height: 16px;
- font-size: 14px;
- color: grey;
- text-align: center;
- line-height: 0;
- padding-top: 7px;
- opacity: .5;
+ position: absolute;
+ right: 6px;
+ top: 50%;
+ margin-top: -8px;
+ width: 16px;
+ height: 16px;
+ font-size: 14px;
+ color: grey;
+ text-align: center;
+ line-height: 0;
+ padding-top: 7px;
+ opacity: .5;
}
#clearFilterButton:hover {
- opacity: 1;
+ opacity: 1;
}
.hidden {
- display: none;
+ display: none;
}
#panel li b {
- font-weight: bold;
+ font-weight: bold;
}
/* mobile */
#expandButton {
- display: none;
- position: absolute;
- right: 20px;
- top: 12px;
- width: 32px;
- height: 32px;
+ display: none;
+ position: absolute;
+ right: 20px;
+ top: 12px;
+ width: 32px;
+ height: 32px;
}
#expandButton span {
- height: 2px;
- background-color: #2194CE;
- width: 16px;
- position: absolute;
- left: 8px;
- top: 10px;
+ height: 2px;
+ background-color: #2194CE;
+ width: 16px;
+ position: absolute;
+ left: 8px;
+ top: 10px;
}
#expandButton span:nth-child(1) {
- top: 16px;
+ top: 16px;
}
#expandButton span:nth-child(2) {
- top: 22px;
+ top: 22px;
}
@media all and ( max-width: 640px ) {
-
- h1{
- margin-top: 20px;
- margin-bottom: 20px;
- }
-
- #panel{
- position: absolute;
- left: 0;
- top: 0;
- height: 480px;
- width: 100%;
- right: 0;
- z-index: 100;
- overflow: hidden;
- border-bottom: 1px solid #dedede;
- }
-
- #navigation{
- position: absolute;
- left: 0;
- top: 90px;
- right: 0;
- bottom: 0;
- font-size: 17px;
- line-height: 22px;
- overflow: auto;
- }
-
- iframe{
- position: absolute;
- left: 0;
- top: 56px;
- width: 100%;
- height: calc(100% - 56px);
- }
-
- #expandButton{
- display: block;
- }
-
- #panel.collapsed{
- height: 56px;
- }
-
+
+ h1{
+ margin-top: 20px;
+ margin-bottom: 20px;
+ }
+
+ #panel{
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 480px;
+ width: 100%;
+ right: 0;
+ z-index: 100;
+ overflow: hidden;
+ border-bottom: 1px solid #dedede;
+ }
+
+ #navigation{
+ position: absolute;
+ left: 0;
+ top: 90px;
+ right: 0;
+ bottom: 0;
+ font-size: 17px;
+ line-height: 22px;
+ overflow: auto;
+ }
+
+ iframe{
+ position: absolute;
+ left: 0;
+ top: 56px;
+ width: 100%;
+ height: calc(100% - 56px);
+ }
+
+ #expandButton{
+ display: block;
+ }
+
+ #panel.collapsed{
+ height: 56px;
+ }
+
}
diff --git a/docs/index.html b/docs/index.html
index f1eaeab893c085b575e8835291282e4ce1a349c9..8c3e24d942e14fffe163547bf9407622c5e874d1 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,45 +1,45 @@
-
-
- three.js / documentation
-
-
-
-
+
+
+ three.js / documentation
+
+
+
+
-
-
+
-
+
-
+
-
+
diff --git a/docs/list.js b/docs/list.js
index 1b6c5f3f2c8e60d59367429291c981d23a8adbd9..5d7de43d5405c739c2a9e145d8a4d157ede365a7 100644
--- a/docs/list.js
+++ b/docs/list.js
@@ -1,397 +1,397 @@
var list = {
- "Manual": {
-
- "Getting Started": {
- "Creating a scene": "manual/introduction/Creating-a-scene",
- "Detecting WebGL and browser compatibility": "manual/introduction/Detecting-WebGL-and-browser-compatibility",
- "How to run things locally": "manual/introduction/How-to-run-thing-locally",
- "Drawing Lines": "manual/introduction/Drawing-lines",
- "Creating Text": "manual/introduction/Creating-text",
- "Migration Guide": "manual/introduction/Migration-guide",
- "Code Style Guide": "manual/introduction/Code-style-guide",
- "FAQ": "manual/introduction/FAQ",
- "Useful links": "manual/introduction/Useful-links"
- },
-
- "Next Steps": {
- "How to update things": "manual/introduction/How-to-update-things",
- "Matrix transformations": "manual/introduction/Matrix-transformations",
- "Animation System": "manual/introduction/Animation-system"
- },
-
- "Build Tools": {
- "Testing with NPM": "manual/buildTools/Testing-with-NPM"
- }
-
- },
-
- "Reference": {
-
- "Animation": {
- "AnimationAction": "api/animation/AnimationAction",
- "AnimationClip": "api/animation/AnimationClip",
- "AnimationMixer": "api/animation/AnimationMixer",
- "AnimationObjectGroup": "api/animation/AnimationObjectGroup",
- "AnimationUtils": "api/animation/AnimationUtils",
- "KeyframeTrack": "api/animation/KeyframeTrack",
- "PropertyBinding": "api/animation/PropertyBinding",
- "PropertyMixer": "api/animation/PropertyMixer"
- },
-
- "Animation / Tracks": {
- "BooleanKeyframeTrack": "api/animation/tracks/BooleanKeyframeTrack",
- "ColorKeyframeTrack": "api/animation/tracks/ColorKeyframeTrack",
- "NumberKeyframeTrack": "api/animation/tracks/NumberKeyframeTrack",
- "QuaternionKeyframeTrack": "api/animation/tracks/QuaternionKeyframeTrack",
- "StringKeyframeTrack": "api/animation/tracks/StringKeyframeTrack",
- "VectorKeyframeTrack": "api/animation/tracks/VectorKeyframeTrack"
- },
-
- "Audio": {
- "Audio": "api/audio/Audio",
- "AudioAnalyser": "api/audio/AudioAnalyser",
- "AudioContext": "api/audio/AudioContext",
- "AudioListener": "api/audio/AudioListener",
- "PositionalAudio": "api/audio/PositionalAudio"
- },
-
- "Cameras": {
- "Camera": "api/cameras/Camera",
- "CubeCamera": "api/cameras/CubeCamera",
- "OrthographicCamera": "api/cameras/OrthographicCamera",
- "PerspectiveCamera": "api/cameras/PerspectiveCamera",
- "StereoCamera": "api/cameras/StereoCamera"
- },
-
- "Constants": {
- "Animation": "api/constants/Animation",
- "Core": "api/constants/Core",
- "CustomBlendingEquation": "api/constants/CustomBlendingEquations",
- "DrawModes": "api/constants/DrawModes",
- "Materials": "api/constants/Materials",
- "Renderer": "api/constants/Renderer",
- "Textures": "api/constants/Textures"
- },
-
- "Core": {
- "BufferAttribute": "api/core/BufferAttribute",
- "BufferGeometry": "api/core/BufferGeometry",
- "Clock": "api/core/Clock",
- "DirectGeometry": "api/core/DirectGeometry",
- "EventDispatcher": "api/core/EventDispatcher",
- "Face3": "api/core/Face3",
- "Geometry": "api/core/Geometry",
- "InstancedBufferAttribute": "api/core/InstancedBufferAttribute",
- "InstancedBufferGeometry": "api/core/InstancedBufferGeometry",
- "InstancedInterleavedBuffer": "api/core/InstancedInterleavedBuffer",
- "InterleavedBuffer": "api/core/InterleavedBuffer",
- "InterleavedBufferAttribute": "api/core/InterleavedBufferAttribute",
- "Layers": "api/core/Layers",
- "Object3D": "api/core/Object3D",
- "Raycaster": "api/core/Raycaster",
- "Uniform": "api/core/Uniform"
- },
-
- "Core / BufferAttributes": {
- "BufferAttribute Types": "api/core/bufferAttributeTypes/BufferAttributeTypes"
- },
-
- "Deprecated": {
- "DeprecatedList": "api/deprecated/DeprecatedList"
- },
-
- "Extras": {
- "CurveUtils": "api/extras/CurveUtils",
- "SceneUtils": "api/extras/SceneUtils",
- "ShapeUtils": "api/extras/ShapeUtils"
- },
-
- "Extras / Core": {
- "Curve": "api/extras/core/Curve",
- "CurvePath": "api/extras/core/CurvePath",
- "Font": "api/extras/core/Font",
- "Path": "api/extras/core/Path",
- "Shape": "api/extras/core/Shape",
- "ShapePath": "api/extras/core/ShapePath"
- },
-
- "Extras / Curves": {
- "ArcCurve": "api/extras/curves/ArcCurve",
- "CatmullRomCurve3": "api/extras/curves/CatmullRomCurve3",
- "CubicBezierCurve": "api/extras/curves/CubicBezierCurve",
- "CubicBezierCurve3": "api/extras/curves/CubicBezierCurve3",
- "EllipseCurve": "api/extras/curves/EllipseCurve",
- "LineCurve": "api/extras/curves/LineCurve",
- "LineCurve3": "api/extras/curves/LineCurve3",
- "QuadraticBezierCurve": "api/extras/curves/QuadraticBezierCurve",
- "QuadraticBezierCurve3": "api/extras/curves/QuadraticBezierCurve3",
- "SplineCurve": "api/extras/curves/SplineCurve"
- },
-
- "Extras / Objects": {
- "ImmediateRenderObject": "api/extras/objects/ImmediateRenderObject",
- "MorphBlendMesh": "api/extras/objects/MorphBlendMesh"
- },
-
- "Geometries": {
- "BoxBufferGeometry": "api/geometries/BoxBufferGeometry",
- "BoxGeometry": "api/geometries/BoxGeometry",
- "CircleBufferGeometry": "api/geometries/CircleBufferGeometry",
- "CircleGeometry": "api/geometries/CircleGeometry",
- "ConeBufferGeometry": "api/geometries/ConeBufferGeometry",
- "ConeGeometry": "api/geometries/ConeGeometry",
- "CylinderBufferGeometry": "api/geometries/CylinderBufferGeometry",
- "CylinderGeometry": "api/geometries/CylinderGeometry",
- "DodecahedronBufferGeometry": "api/geometries/DodecahedronBufferGeometry",
- "DodecahedronGeometry": "api/geometries/DodecahedronGeometry",
- "EdgesGeometry": "api/geometries/EdgesGeometry",
- "ExtrudeGeometry": "api/geometries/ExtrudeGeometry",
- "ExtrudeBufferGeometry": "api/geometries/ExtrudeBufferGeometry",
- "IcosahedronBufferGeometry": "api/geometries/IcosahedronBufferGeometry",
- "IcosahedronGeometry": "api/geometries/IcosahedronGeometry",
- "LatheBufferGeometry": "api/geometries/LatheBufferGeometry",
- "LatheGeometry": "api/geometries/LatheGeometry",
- "OctahedronBufferGeometry": "api/geometries/OctahedronBufferGeometry",
- "OctahedronGeometry": "api/geometries/OctahedronGeometry",
- "ParametricBufferGeometry": "api/geometries/ParametricBufferGeometry",
- "ParametricGeometry": "api/geometries/ParametricGeometry",
- "PlaneBufferGeometry": "api/geometries/PlaneBufferGeometry",
- "PlaneGeometry": "api/geometries/PlaneGeometry",
- "PolyhedronBufferGeometry": "api/geometries/PolyhedronBufferGeometry",
- "PolyhedronGeometry": "api/geometries/PolyhedronGeometry",
- "RingBufferGeometry": "api/geometries/RingBufferGeometry",
- "RingGeometry": "api/geometries/RingGeometry",
- "ShapeBufferGeometry": "api/geometries/ShapeBufferGeometry",
- "ShapeGeometry": "api/geometries/ShapeGeometry",
- "SphereBufferGeometry": "api/geometries/SphereBufferGeometry",
- "SphereGeometry": "api/geometries/SphereGeometry",
- "TetrahedronBufferGeometry": "api/geometries/TetrahedronBufferGeometry",
- "TetrahedronGeometry": "api/geometries/TetrahedronGeometry",
- "TextGeometry": "api/geometries/TextGeometry",
- "TorusBufferGeometry": "api/geometries/TorusBufferGeometry",
- "TorusGeometry": "api/geometries/TorusGeometry",
- "TorusKnotBufferGeometry": "api/geometries/TorusKnotBufferGeometry",
- "TorusKnotGeometry": "api/geometries/TorusKnotGeometry",
- "TubeGeometry": "api/geometries/TubeGeometry",
- "TubeBufferGeometry": "api/geometries/TubeBufferGeometry",
- "WireframeGeometry": "api/geometries/WireframeGeometry"
- },
-
- "Helpers": {
- "ArrowHelper": "api/helpers/ArrowHelper",
- "AxisHelper": "api/helpers/AxisHelper",
- "BoxHelper": "api/helpers/BoxHelper",
- "CameraHelper": "api/helpers/CameraHelper",
- "DirectionalLightHelper": "api/helpers/DirectionalLightHelper",
- "FaceNormalsHelper": "api/helpers/FaceNormalsHelper",
- "GridHelper": "api/helpers/GridHelper",
- "PolarGridHelper": "api/helpers/PolarGridHelper",
- "HemisphereLightHelper": "api/helpers/HemisphereLightHelper",
- "PointLightHelper": "api/helpers/PointLightHelper",
- "RectAreaLightHelper": "api/helpers/RectAreaLightHelper",
- "SkeletonHelper": "api/helpers/SkeletonHelper",
- "SpotLightHelper": "api/helpers/SpotLightHelper",
- "VertexNormalsHelper": "api/helpers/VertexNormalsHelper"
- },
-
- "Lights": {
- "AmbientLight": "api/lights/AmbientLight",
- "DirectionalLight": "api/lights/DirectionalLight",
- "HemisphereLight": "api/lights/HemisphereLight",
- "Light": "api/lights/Light",
- "PointLight": "api/lights/PointLight",
- "RectAreaLight": "api/lights/RectAreaLight",
- "SpotLight": "api/lights/SpotLight"
- },
-
- "Lights / Shadows": {
- "DirectionalLightShadow": "api/lights/shadows/DirectionalLightShadow",
- "LightShadow": "api/lights/shadows/LightShadow",
- "RectAreaLightShadow": "api/lights/shadows/RectAreaLightShadow",
- "SpotLightShadow": "api/lights/shadows/SpotLightShadow"
- },
-
- "Loaders": {
- "AnimationLoader": "api/loaders/AnimationLoader",
- "AudioLoader": "api/loaders/AudioLoader",
- "BufferGeometryLoader": "api/loaders/BufferGeometryLoader",
- "Cache": "api/loaders/Cache",
- "CompressedTextureLoader": "api/loaders/CompressedTextureLoader",
- "CubeTextureLoader": "api/loaders/CubeTextureLoader",
- "DataTextureLoader": "api/loaders/DataTextureLoader",
- "FileLoader": "api/loaders/FileLoader",
- "FontLoader": "api/loaders/FontLoader",
- "ImageLoader": "api/loaders/ImageLoader",
- "JSONLoader": "api/loaders/JSONLoader",
- "Loader": "api/loaders/Loader",
- "MaterialLoader": "api/loaders/MaterialLoader",
- "ObjectLoader": "api/loaders/ObjectLoader",
- "TextureLoader": "api/loaders/TextureLoader"
- },
-
- "Loaders / Managers": {
- "DefaultLoadingManager": "api/loaders/managers/DefaultLoadingManager",
- "LoadingManager": "api/loaders/managers/LoadingManager"
- },
-
- "Materials": {
- "LineBasicMaterial": "api/materials/LineBasicMaterial",
- "LineDashedMaterial": "api/materials/LineDashedMaterial",
- "Material": "api/materials/Material",
- "MeshBasicMaterial": "api/materials/MeshBasicMaterial",
- "MeshDepthMaterial": "api/materials/MeshDepthMaterial",
- "MeshLambertMaterial": "api/materials/MeshLambertMaterial",
- "MeshNormalMaterial": "api/materials/MeshNormalMaterial",
- "MeshPhongMaterial": "api/materials/MeshPhongMaterial",
- "MeshPhysicalMaterial": "api/materials/MeshPhysicalMaterial",
- "MeshStandardMaterial": "api/materials/MeshStandardMaterial",
- "MeshToonMaterial": "api/materials/MeshToonMaterial",
- "PointsMaterial": "api/materials/PointsMaterial",
- "RawShaderMaterial": "api/materials/RawShaderMaterial",
- "ShaderMaterial": "api/materials/ShaderMaterial",
- "ShadowMaterial": "api/materials/ShadowMaterial",
- "SpriteMaterial": "api/materials/SpriteMaterial"
- },
-
- "Math": {
- "Box2": "api/math/Box2",
- "Box3": "api/math/Box3",
- "Color": "api/math/Color",
- "Cylindrical": "api/math/Cylindrical",
- "Euler": "api/math/Euler",
- "Frustum": "api/math/Frustum",
- "Interpolant": "api/math/Interpolant",
- "Line3": "api/math/Line3",
- "Math": "api/math/Math",
- "Matrix3": "api/math/Matrix3",
- "Matrix4": "api/math/Matrix4",
- "Plane": "api/math/Plane",
- "Quaternion": "api/math/Quaternion",
- "Ray": "api/math/Ray",
- "Sphere": "api/math/Sphere",
- "Spherical": "api/math/Spherical",
- "Triangle": "api/math/Triangle",
- "Vector2": "api/math/Vector2",
- "Vector3": "api/math/Vector3",
- "Vector4": "api/math/Vector4"
- },
-
- "Math / Interpolants": {
- "CubicInterpolant": "api/math/interpolants/CubicInterpolant",
- "DiscreteInterpolant": "api/math/interpolants/DiscreteInterpolant",
- "LinearInterpolant": "api/math/interpolants/LinearInterpolant",
- "QuaternionLinearInterpolant": "api/math/interpolants/QuaternionLinearInterpolant"
- },
-
- "Objects": {
- "Bone": "api/objects/Bone",
- "Group": "api/objects/Group",
- "LensFlare": "api/objects/LensFlare",
- "Line": "api/objects/Line",
- "LineLoop": "api/objects/LineLoop",
- "LineSegments": "api/objects/LineSegments",
- "LOD": "api/objects/LOD",
- "Mesh": "api/objects/Mesh",
- "Points": "api/objects/Points",
- "Skeleton": "api/objects/Skeleton",
- "SkinnedMesh": "api/objects/SkinnedMesh",
- "Sprite": "api/objects/Sprite"
- },
-
- "Renderers": {
- "WebGLRenderer": "api/renderers/WebGLRenderer",
- "WebGLRenderTarget": "api/renderers/WebGLRenderTarget",
- "WebGLRenderTargetCube": "api/renderers/WebGLRenderTargetCube"
- },
-
- "Renderers / Shaders": {
- "ShaderChunk": "api/renderers/shaders/ShaderChunk",
- "ShaderLib": "api/renderers/shaders/ShaderLib",
- "UniformsLib": "api/renderers/shaders/UniformsLib",
- "UniformsUtils": "api/renderers/shaders/UniformsUtils"
- },
-
- "Scenes": {
- "Fog": "api/scenes/Fog",
- "FogExp2": "api/scenes/FogExp2",
- "Scene": "api/scenes/Scene"
- },
-
- "Textures": {
- "CanvasTexture": "api/textures/CanvasTexture",
- "CompressedTexture": "api/textures/CompressedTexture",
- "CubeTexture": "api/textures/CubeTexture",
- "DataTexture": "api/textures/DataTexture",
- "DepthTexture": "api/textures/DepthTexture",
- "Texture": "api/textures/Texture",
- "VideoTexture": "api/textures/VideoTexture"
- }
-
- },
-
- "Examples": {
-
- "Collada Animation": {
- "ColladaAnimation": "examples/collada/Animation",
- "AnimationHandler": "examples/collada/AnimationHandler",
- "KeyFrameAnimation": "examples/collada/KeyFrameAnimation"
- },
-
- "Geometries": {
- "ConvexBufferGeometry": "examples/geometries/ConvexBufferGeometry",
- "ConvexGeometry": "examples/geometries/ConvexGeometry"
- },
-
- "Loaders": {
- "BabylonLoader": "examples/loaders/BabylonLoader",
- "ColladaLoader": "examples/loaders/ColladaLoader",
- "GLTF2Loader": "examples/loaders/GLTF2Loader",
- "MTLLoader": "examples/loaders/MTLLoader",
- "OBJLoader": "examples/loaders/OBJLoader",
- "PCDLoader": "examples/loaders/PCDLoader",
- "PDBLoader": "examples/loaders/PDBLoader",
- "SVGLoader": "examples/loaders/SVGLoader",
- "TGALoader": "examples/loaders/TGALoader"
- },
-
- "Plugins": {
- "CombinedCamera": "examples/cameras/CombinedCamera",
- "LookupTable": "examples/Lut",
- "SpriteCanvasMaterial": "examples/SpriteCanvasMaterial"
- },
-
- "QuickHull": {
- "Face": "examples/quickhull/Face",
- "HalfEdge": "examples/quickhull/HalfEdge",
- "QuickHull": "examples/quickhull/QuickHull",
- "VertexNode": "examples/quickhull/VertexNode",
- "VertexList": "examples/quickhull/VertexList"
- },
-
- "Renderers": {
- "CanvasRenderer": "examples/renderers/CanvasRenderer"
- }
-
- },
-
- "Developer Reference": {
-
- "Polyfills": {
- "Polyfills": "api/Polyfills"
- },
-
- "WebGLRenderer": {
- "WebGLProgram": "api/renderers/webgl/WebGLProgram",
- "WebGLShader": "api/renderers/webgl/WebGLShader",
- "WebGLState": "api/renderers/webgl/WebGLState"
- },
-
- "WebGLRenderer / Plugins": {
- "LensFlarePlugin": "api/renderers/webgl/plugins/LensFlarePlugin",
- "SpritePlugin": "api/renderers/webgl/plugins/SpritePlugin"
- }
-
- }
+ "Manual": {
+
+ "Getting Started": {
+ "Creating a scene": "manual/introduction/Creating-a-scene",
+ "Detecting WebGL and browser compatibility": "manual/introduction/Detecting-WebGL-and-browser-compatibility",
+ "How to run things locally": "manual/introduction/How-to-run-thing-locally",
+ "Drawing Lines": "manual/introduction/Drawing-lines",
+ "Creating Text": "manual/introduction/Creating-text",
+ "Migration Guide": "manual/introduction/Migration-guide",
+ "Code Style Guide": "manual/introduction/Code-style-guide",
+ "FAQ": "manual/introduction/FAQ",
+ "Useful links": "manual/introduction/Useful-links"
+ },
+
+ "Next Steps": {
+ "How to update things": "manual/introduction/How-to-update-things",
+ "Matrix transformations": "manual/introduction/Matrix-transformations",
+ "Animation System": "manual/introduction/Animation-system"
+ },
+
+ "Build Tools": {
+ "Testing with NPM": "manual/buildTools/Testing-with-NPM"
+ }
+
+ },
+
+ "Reference": {
+
+ "Animation": {
+ "AnimationAction": "api/animation/AnimationAction",
+ "AnimationClip": "api/animation/AnimationClip",
+ "AnimationMixer": "api/animation/AnimationMixer",
+ "AnimationObjectGroup": "api/animation/AnimationObjectGroup",
+ "AnimationUtils": "api/animation/AnimationUtils",
+ "KeyframeTrack": "api/animation/KeyframeTrack",
+ "PropertyBinding": "api/animation/PropertyBinding",
+ "PropertyMixer": "api/animation/PropertyMixer"
+ },
+
+ "Animation / Tracks": {
+ "BooleanKeyframeTrack": "api/animation/tracks/BooleanKeyframeTrack",
+ "ColorKeyframeTrack": "api/animation/tracks/ColorKeyframeTrack",
+ "NumberKeyframeTrack": "api/animation/tracks/NumberKeyframeTrack",
+ "QuaternionKeyframeTrack": "api/animation/tracks/QuaternionKeyframeTrack",
+ "StringKeyframeTrack": "api/animation/tracks/StringKeyframeTrack",
+ "VectorKeyframeTrack": "api/animation/tracks/VectorKeyframeTrack"
+ },
+
+ "Audio": {
+ "Audio": "api/audio/Audio",
+ "AudioAnalyser": "api/audio/AudioAnalyser",
+ "AudioContext": "api/audio/AudioContext",
+ "AudioListener": "api/audio/AudioListener",
+ "PositionalAudio": "api/audio/PositionalAudio"
+ },
+
+ "Cameras": {
+ "Camera": "api/cameras/Camera",
+ "CubeCamera": "api/cameras/CubeCamera",
+ "OrthographicCamera": "api/cameras/OrthographicCamera",
+ "PerspectiveCamera": "api/cameras/PerspectiveCamera",
+ "StereoCamera": "api/cameras/StereoCamera"
+ },
+
+ "Constants": {
+ "Animation": "api/constants/Animation",
+ "Core": "api/constants/Core",
+ "CustomBlendingEquation": "api/constants/CustomBlendingEquations",
+ "DrawModes": "api/constants/DrawModes",
+ "Materials": "api/constants/Materials",
+ "Renderer": "api/constants/Renderer",
+ "Textures": "api/constants/Textures"
+ },
+
+ "Core": {
+ "BufferAttribute": "api/core/BufferAttribute",
+ "BufferGeometry": "api/core/BufferGeometry",
+ "Clock": "api/core/Clock",
+ "DirectGeometry": "api/core/DirectGeometry",
+ "EventDispatcher": "api/core/EventDispatcher",
+ "Face3": "api/core/Face3",
+ "Geometry": "api/core/Geometry",
+ "InstancedBufferAttribute": "api/core/InstancedBufferAttribute",
+ "InstancedBufferGeometry": "api/core/InstancedBufferGeometry",
+ "InstancedInterleavedBuffer": "api/core/InstancedInterleavedBuffer",
+ "InterleavedBuffer": "api/core/InterleavedBuffer",
+ "InterleavedBufferAttribute": "api/core/InterleavedBufferAttribute",
+ "Layers": "api/core/Layers",
+ "Object3D": "api/core/Object3D",
+ "Raycaster": "api/core/Raycaster",
+ "Uniform": "api/core/Uniform"
+ },
+
+ "Core / BufferAttributes": {
+ "BufferAttribute Types": "api/core/bufferAttributeTypes/BufferAttributeTypes"
+ },
+
+ "Deprecated": {
+ "DeprecatedList": "api/deprecated/DeprecatedList"
+ },
+
+ "Extras": {
+ "CurveUtils": "api/extras/CurveUtils",
+ "SceneUtils": "api/extras/SceneUtils",
+ "ShapeUtils": "api/extras/ShapeUtils"
+ },
+
+ "Extras / Core": {
+ "Curve": "api/extras/core/Curve",
+ "CurvePath": "api/extras/core/CurvePath",
+ "Font": "api/extras/core/Font",
+ "Path": "api/extras/core/Path",
+ "Shape": "api/extras/core/Shape",
+ "ShapePath": "api/extras/core/ShapePath"
+ },
+
+ "Extras / Curves": {
+ "ArcCurve": "api/extras/curves/ArcCurve",
+ "CatmullRomCurve3": "api/extras/curves/CatmullRomCurve3",
+ "CubicBezierCurve": "api/extras/curves/CubicBezierCurve",
+ "CubicBezierCurve3": "api/extras/curves/CubicBezierCurve3",
+ "EllipseCurve": "api/extras/curves/EllipseCurve",
+ "LineCurve": "api/extras/curves/LineCurve",
+ "LineCurve3": "api/extras/curves/LineCurve3",
+ "QuadraticBezierCurve": "api/extras/curves/QuadraticBezierCurve",
+ "QuadraticBezierCurve3": "api/extras/curves/QuadraticBezierCurve3",
+ "SplineCurve": "api/extras/curves/SplineCurve"
+ },
+
+ "Extras / Objects": {
+ "ImmediateRenderObject": "api/extras/objects/ImmediateRenderObject",
+ "MorphBlendMesh": "api/extras/objects/MorphBlendMesh"
+ },
+
+ "Geometries": {
+ "BoxBufferGeometry": "api/geometries/BoxBufferGeometry",
+ "BoxGeometry": "api/geometries/BoxGeometry",
+ "CircleBufferGeometry": "api/geometries/CircleBufferGeometry",
+ "CircleGeometry": "api/geometries/CircleGeometry",
+ "ConeBufferGeometry": "api/geometries/ConeBufferGeometry",
+ "ConeGeometry": "api/geometries/ConeGeometry",
+ "CylinderBufferGeometry": "api/geometries/CylinderBufferGeometry",
+ "CylinderGeometry": "api/geometries/CylinderGeometry",
+ "DodecahedronBufferGeometry": "api/geometries/DodecahedronBufferGeometry",
+ "DodecahedronGeometry": "api/geometries/DodecahedronGeometry",
+ "EdgesGeometry": "api/geometries/EdgesGeometry",
+ "ExtrudeGeometry": "api/geometries/ExtrudeGeometry",
+ "ExtrudeBufferGeometry": "api/geometries/ExtrudeBufferGeometry",
+ "IcosahedronBufferGeometry": "api/geometries/IcosahedronBufferGeometry",
+ "IcosahedronGeometry": "api/geometries/IcosahedronGeometry",
+ "LatheBufferGeometry": "api/geometries/LatheBufferGeometry",
+ "LatheGeometry": "api/geometries/LatheGeometry",
+ "OctahedronBufferGeometry": "api/geometries/OctahedronBufferGeometry",
+ "OctahedronGeometry": "api/geometries/OctahedronGeometry",
+ "ParametricBufferGeometry": "api/geometries/ParametricBufferGeometry",
+ "ParametricGeometry": "api/geometries/ParametricGeometry",
+ "PlaneBufferGeometry": "api/geometries/PlaneBufferGeometry",
+ "PlaneGeometry": "api/geometries/PlaneGeometry",
+ "PolyhedronBufferGeometry": "api/geometries/PolyhedronBufferGeometry",
+ "PolyhedronGeometry": "api/geometries/PolyhedronGeometry",
+ "RingBufferGeometry": "api/geometries/RingBufferGeometry",
+ "RingGeometry": "api/geometries/RingGeometry",
+ "ShapeBufferGeometry": "api/geometries/ShapeBufferGeometry",
+ "ShapeGeometry": "api/geometries/ShapeGeometry",
+ "SphereBufferGeometry": "api/geometries/SphereBufferGeometry",
+ "SphereGeometry": "api/geometries/SphereGeometry",
+ "TetrahedronBufferGeometry": "api/geometries/TetrahedronBufferGeometry",
+ "TetrahedronGeometry": "api/geometries/TetrahedronGeometry",
+ "TextGeometry": "api/geometries/TextGeometry",
+ "TorusBufferGeometry": "api/geometries/TorusBufferGeometry",
+ "TorusGeometry": "api/geometries/TorusGeometry",
+ "TorusKnotBufferGeometry": "api/geometries/TorusKnotBufferGeometry",
+ "TorusKnotGeometry": "api/geometries/TorusKnotGeometry",
+ "TubeGeometry": "api/geometries/TubeGeometry",
+ "TubeBufferGeometry": "api/geometries/TubeBufferGeometry",
+ "WireframeGeometry": "api/geometries/WireframeGeometry"
+ },
+
+ "Helpers": {
+ "ArrowHelper": "api/helpers/ArrowHelper",
+ "AxisHelper": "api/helpers/AxisHelper",
+ "BoxHelper": "api/helpers/BoxHelper",
+ "CameraHelper": "api/helpers/CameraHelper",
+ "DirectionalLightHelper": "api/helpers/DirectionalLightHelper",
+ "FaceNormalsHelper": "api/helpers/FaceNormalsHelper",
+ "GridHelper": "api/helpers/GridHelper",
+ "PolarGridHelper": "api/helpers/PolarGridHelper",
+ "HemisphereLightHelper": "api/helpers/HemisphereLightHelper",
+ "PointLightHelper": "api/helpers/PointLightHelper",
+ "RectAreaLightHelper": "api/helpers/RectAreaLightHelper",
+ "SkeletonHelper": "api/helpers/SkeletonHelper",
+ "SpotLightHelper": "api/helpers/SpotLightHelper",
+ "VertexNormalsHelper": "api/helpers/VertexNormalsHelper"
+ },
+
+ "Lights": {
+ "AmbientLight": "api/lights/AmbientLight",
+ "DirectionalLight": "api/lights/DirectionalLight",
+ "HemisphereLight": "api/lights/HemisphereLight",
+ "Light": "api/lights/Light",
+ "PointLight": "api/lights/PointLight",
+ "RectAreaLight": "api/lights/RectAreaLight",
+ "SpotLight": "api/lights/SpotLight"
+ },
+
+ "Lights / Shadows": {
+ "DirectionalLightShadow": "api/lights/shadows/DirectionalLightShadow",
+ "LightShadow": "api/lights/shadows/LightShadow",
+ "RectAreaLightShadow": "api/lights/shadows/RectAreaLightShadow",
+ "SpotLightShadow": "api/lights/shadows/SpotLightShadow"
+ },
+
+ "Loaders": {
+ "AnimationLoader": "api/loaders/AnimationLoader",
+ "AudioLoader": "api/loaders/AudioLoader",
+ "BufferGeometryLoader": "api/loaders/BufferGeometryLoader",
+ "Cache": "api/loaders/Cache",
+ "CompressedTextureLoader": "api/loaders/CompressedTextureLoader",
+ "CubeTextureLoader": "api/loaders/CubeTextureLoader",
+ "DataTextureLoader": "api/loaders/DataTextureLoader",
+ "FileLoader": "api/loaders/FileLoader",
+ "FontLoader": "api/loaders/FontLoader",
+ "ImageLoader": "api/loaders/ImageLoader",
+ "JSONLoader": "api/loaders/JSONLoader",
+ "Loader": "api/loaders/Loader",
+ "MaterialLoader": "api/loaders/MaterialLoader",
+ "ObjectLoader": "api/loaders/ObjectLoader",
+ "TextureLoader": "api/loaders/TextureLoader"
+ },
+
+ "Loaders / Managers": {
+ "DefaultLoadingManager": "api/loaders/managers/DefaultLoadingManager",
+ "LoadingManager": "api/loaders/managers/LoadingManager"
+ },
+
+ "Materials": {
+ "LineBasicMaterial": "api/materials/LineBasicMaterial",
+ "LineDashedMaterial": "api/materials/LineDashedMaterial",
+ "Material": "api/materials/Material",
+ "MeshBasicMaterial": "api/materials/MeshBasicMaterial",
+ "MeshDepthMaterial": "api/materials/MeshDepthMaterial",
+ "MeshLambertMaterial": "api/materials/MeshLambertMaterial",
+ "MeshNormalMaterial": "api/materials/MeshNormalMaterial",
+ "MeshPhongMaterial": "api/materials/MeshPhongMaterial",
+ "MeshPhysicalMaterial": "api/materials/MeshPhysicalMaterial",
+ "MeshStandardMaterial": "api/materials/MeshStandardMaterial",
+ "MeshToonMaterial": "api/materials/MeshToonMaterial",
+ "PointsMaterial": "api/materials/PointsMaterial",
+ "RawShaderMaterial": "api/materials/RawShaderMaterial",
+ "ShaderMaterial": "api/materials/ShaderMaterial",
+ "ShadowMaterial": "api/materials/ShadowMaterial",
+ "SpriteMaterial": "api/materials/SpriteMaterial"
+ },
+
+ "Math": {
+ "Box2": "api/math/Box2",
+ "Box3": "api/math/Box3",
+ "Color": "api/math/Color",
+ "Cylindrical": "api/math/Cylindrical",
+ "Euler": "api/math/Euler",
+ "Frustum": "api/math/Frustum",
+ "Interpolant": "api/math/Interpolant",
+ "Line3": "api/math/Line3",
+ "Math": "api/math/Math",
+ "Matrix3": "api/math/Matrix3",
+ "Matrix4": "api/math/Matrix4",
+ "Plane": "api/math/Plane",
+ "Quaternion": "api/math/Quaternion",
+ "Ray": "api/math/Ray",
+ "Sphere": "api/math/Sphere",
+ "Spherical": "api/math/Spherical",
+ "Triangle": "api/math/Triangle",
+ "Vector2": "api/math/Vector2",
+ "Vector3": "api/math/Vector3",
+ "Vector4": "api/math/Vector4"
+ },
+
+ "Math / Interpolants": {
+ "CubicInterpolant": "api/math/interpolants/CubicInterpolant",
+ "DiscreteInterpolant": "api/math/interpolants/DiscreteInterpolant",
+ "LinearInterpolant": "api/math/interpolants/LinearInterpolant",
+ "QuaternionLinearInterpolant": "api/math/interpolants/QuaternionLinearInterpolant"
+ },
+
+ "Objects": {
+ "Bone": "api/objects/Bone",
+ "Group": "api/objects/Group",
+ "LensFlare": "api/objects/LensFlare",
+ "Line": "api/objects/Line",
+ "LineLoop": "api/objects/LineLoop",
+ "LineSegments": "api/objects/LineSegments",
+ "LOD": "api/objects/LOD",
+ "Mesh": "api/objects/Mesh",
+ "Points": "api/objects/Points",
+ "Skeleton": "api/objects/Skeleton",
+ "SkinnedMesh": "api/objects/SkinnedMesh",
+ "Sprite": "api/objects/Sprite"
+ },
+
+ "Renderers": {
+ "WebGLRenderer": "api/renderers/WebGLRenderer",
+ "WebGLRenderTarget": "api/renderers/WebGLRenderTarget",
+ "WebGLRenderTargetCube": "api/renderers/WebGLRenderTargetCube"
+ },
+
+ "Renderers / Shaders": {
+ "ShaderChunk": "api/renderers/shaders/ShaderChunk",
+ "ShaderLib": "api/renderers/shaders/ShaderLib",
+ "UniformsLib": "api/renderers/shaders/UniformsLib",
+ "UniformsUtils": "api/renderers/shaders/UniformsUtils"
+ },
+
+ "Scenes": {
+ "Fog": "api/scenes/Fog",
+ "FogExp2": "api/scenes/FogExp2",
+ "Scene": "api/scenes/Scene"
+ },
+
+ "Textures": {
+ "CanvasTexture": "api/textures/CanvasTexture",
+ "CompressedTexture": "api/textures/CompressedTexture",
+ "CubeTexture": "api/textures/CubeTexture",
+ "DataTexture": "api/textures/DataTexture",
+ "DepthTexture": "api/textures/DepthTexture",
+ "Texture": "api/textures/Texture",
+ "VideoTexture": "api/textures/VideoTexture"
+ }
+
+ },
+
+ "Examples": {
+
+ "Collada Animation": {
+ "ColladaAnimation": "examples/collada/Animation",
+ "AnimationHandler": "examples/collada/AnimationHandler",
+ "KeyFrameAnimation": "examples/collada/KeyFrameAnimation"
+ },
+
+ "Geometries": {
+ "ConvexBufferGeometry": "examples/geometries/ConvexBufferGeometry",
+ "ConvexGeometry": "examples/geometries/ConvexGeometry"
+ },
+
+ "Loaders": {
+ "BabylonLoader": "examples/loaders/BabylonLoader",
+ "ColladaLoader": "examples/loaders/ColladaLoader",
+ "GLTF2Loader": "examples/loaders/GLTF2Loader",
+ "MTLLoader": "examples/loaders/MTLLoader",
+ "OBJLoader": "examples/loaders/OBJLoader",
+ "PCDLoader": "examples/loaders/PCDLoader",
+ "PDBLoader": "examples/loaders/PDBLoader",
+ "SVGLoader": "examples/loaders/SVGLoader",
+ "TGALoader": "examples/loaders/TGALoader"
+ },
+
+ "Plugins": {
+ "CombinedCamera": "examples/cameras/CombinedCamera",
+ "LookupTable": "examples/Lut",
+ "SpriteCanvasMaterial": "examples/SpriteCanvasMaterial"
+ },
+
+ "QuickHull": {
+ "Face": "examples/quickhull/Face",
+ "HalfEdge": "examples/quickhull/HalfEdge",
+ "QuickHull": "examples/quickhull/QuickHull",
+ "VertexNode": "examples/quickhull/VertexNode",
+ "VertexList": "examples/quickhull/VertexList"
+ },
+
+ "Renderers": {
+ "CanvasRenderer": "examples/renderers/CanvasRenderer"
+ }
+
+ },
+
+ "Developer Reference": {
+
+ "Polyfills": {
+ "Polyfills": "api/Polyfills"
+ },
+
+ "WebGLRenderer": {
+ "WebGLProgram": "api/renderers/webgl/WebGLProgram",
+ "WebGLShader": "api/renderers/webgl/WebGLShader",
+ "WebGLState": "api/renderers/webgl/WebGLState"
+ },
+
+ "WebGLRenderer / Plugins": {
+ "LensFlarePlugin": "api/renderers/webgl/plugins/LensFlarePlugin",
+ "SpritePlugin": "api/renderers/webgl/plugins/SpritePlugin"
+ }
+
+ }
}
diff --git a/docs/page.css b/docs/page.css
index e01ee370951dd6dd2f410dd02c08408e7e89baf2..c29dfc8d23cf5e51868628922ea3719946cea81b 100644
--- a/docs/page.css
+++ b/docs/page.css
@@ -17,8 +17,8 @@ body {
a {
color: #1184CE;
- cursor: pointer;
- text-decoration: underline;
+ cursor: pointer;
+ text-decoration: underline;
}
h1 {
@@ -107,8 +107,8 @@ strong {
}
#button:hover {
- cursor: pointer;
- opacity: 1;
+ cursor: pointer;
+ opacity: 1;
}
a.permalink {
diff --git a/docs/page.js b/docs/page.js
index b83459b8ea7d5f28554c8f3899e7dc5c75cc8ae8..4343071a93d016c4d03ab8e4645886e647659f21 100644
--- a/docs/page.js
+++ b/docs/page.js
@@ -1,25 +1,25 @@
if ( !window.frameElement ) {
- // If the page is not yet displayed as an iframe of the index page (navigation panel/working links),
- // redirect to the index page (using the current URL without extension as the new fragment).
- // If this URL itself has a fragment, append it with a dot (since '#' in an URL fragment is not allowed).
+ // If the page is not yet displayed as an iframe of the index page (navigation panel/working links),
+ // redirect to the index page (using the current URL without extension as the new fragment).
+ // If this URL itself has a fragment, append it with a dot (since '#' in an URL fragment is not allowed).
- var href = window.location.href;
- var splitIndex = href.lastIndexOf( '/docs/' ) + 6;
- var docsBaseURL = href.substr( 0, splitIndex );
+ var href = window.location.href;
+ var splitIndex = href.lastIndexOf( '/docs/' ) + 6;
+ var docsBaseURL = href.substr( 0, splitIndex );
- var hash = window.location.hash;
+ var hash = window.location.hash;
- if ( hash !== '' ) {
+ if ( hash !== '' ) {
- href = href.replace( hash, '' );
- hash = hash.replace( '#', '.' );
+ href = href.replace( hash, '' );
+ hash = hash.replace( '#', '.' );
- }
+ }
- var pathSnippet = href.slice( splitIndex, -5 );
+ var pathSnippet = href.slice( splitIndex, -5 );
- window.location.replace( docsBaseURL + '#' + pathSnippet + hash );
+ window.location.replace( docsBaseURL + '#' + pathSnippet + hash );
}