Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
984 commits
Select commit Hold shift + click to select a range
9125319
Update Color.convertGammaToLinear & convertLinearToGamma doc
06wj Apr 23, 2018
01ff9bd
Keep front of helper facing direction of normal
WestLangley Apr 23, 2018
d512381
Fix Texture.mapping type in Texture doc
takahirox Apr 23, 2018
1e38c4f
Merge pull request #13930 from takahirox/TextureDocMapping
mrdoob Apr 23, 2018
4d898b7
Merge pull request #13926 from 06wj/patch2
mrdoob Apr 23, 2018
b5da240
Merge pull request #13929 from WestLangley/dev-plane_helper
mrdoob Apr 23, 2018
d3494aa
Merge pull request #13916 from WestLangley/dev-normal_bump
mrdoob Apr 24, 2018
40f2935
Merge pull request #13925 from 06wj/patch1
mrdoob Apr 24, 2018
eb10e6c
Merge pull request #13924 from 06wj/patch0
mrdoob Apr 24, 2018
24b7ddd
Updated builds.
mrdoob Apr 24, 2018
d3f0cca
Merge pull request #13906 from Mugen87/dev4
mrdoob Apr 24, 2018
68fca05
Examples: Format
Mugen87 Apr 24, 2018
82ae0e6
Add note regarding singular nature of parents to .add() and .parent
looeee Apr 24, 2018
06cc500
x_axis_rotation is in degree, adding step 3, and correction for relat…
ndebeiss Apr 24, 2018
d0e39c4
Merge pull request #13919 from ndebeiss/SVGEllipticalArc
mrdoob Apr 24, 2018
6c38483
Merge pull request #13932 from mrdoob/looeee-patch-1
mrdoob Apr 24, 2018
a29f8d2
Merge pull request #13920 from Mugen87/dev11
mrdoob Apr 24, 2018
01b263d
SVGLoader: Improved arc command parsing and clean up. See #13919
mrdoob Apr 24, 2018
f580da2
SVGLoader: Improved port of arc command code. See #13919
mrdoob Apr 24, 2018
8b7f65e
Examples: Clean up
Mugen87 Apr 24, 2018
c5de981
Merge pull request #13933 from Mugen87/dev11
mrdoob Apr 24, 2018
9bf2b8e
Examples: Clean up
Mugen87 Apr 25, 2018
3dfc96f
ExtrudeGeometry: Change type of property "amount" to float
Mugen87 Apr 25, 2018
efee9d0
Merge pull request #13937 from Mugen87/dev4
mrdoob Apr 26, 2018
35f4ee0
WebGLBackground: Ensure correct "renderer.info" stats
Mugen87 Apr 26, 2018
1f2b11a
Remove unneccessary argument
gero3 Apr 26, 2018
f804c97
Merge pull request #13939 from Mugen87/dev4
mrdoob Apr 26, 2018
ec67749
Merge pull request #13940 from gero3/patch-1
mrdoob Apr 26, 2018
4da3cc1
Add uuid field to AnimationClip.toJSON
Apr 26, 2018
7f4c137
Fix WebGLRenderer copyTextureToTexture
takahirox Apr 26, 2018
e46474e
Add missing br tag to ObjectLoader Doc
takahirox Apr 27, 2018
68a2e81
Parse AnimationClip with UUID from json blob
Apr 27, 2018
70c68fb
Merge pull request #13944 from takahirox/FixCopyTextureToTexture
mrdoob Apr 28, 2018
02f52e0
use interleavedBufferAttribute.count insteadof data.count
06wj Apr 28, 2018
4e6efba
fix webGLBufferRenderer renderInstance bug when position is interleav…
06wj Apr 28, 2018
ab68b98
ExtrudeGeometry: Renamed option "amount" to "depth".
Mugen87 Apr 28, 2018
050f80f
ExtrudeGeometry: Clean up unit test
Mugen87 Apr 28, 2018
5ea0211
Examples: New UV Debug Texture
Mugen87 Apr 28, 2018
aeb1901
Merge pull request #13947 from takahirox/ObjectLoaderDoc
mrdoob Apr 28, 2018
4aa7ac8
Merge pull request #13949 from Mugen87/dev4
mrdoob Apr 28, 2018
053dd1f
ObjectLoader setter methods chaining
takahirox Apr 28, 2018
dc9c56d
Update ObjectLoader doc
takahirox Apr 28, 2018
8239719
Merge pull request #13950 from takahirox/ObjectLoaderMethodChaining
mrdoob Apr 29, 2018
ec39df0
Merge pull request #13948 from 06wj/patch0
mrdoob Apr 29, 2018
2e5eeb3
Update MMD Camera copyright description
takahirox Apr 29, 2018
243e853
Remove MMD KeyframeTrackEx
takahirox Apr 29, 2018
256aaab
Audio: Added .setMediaElementSource()
Mugen87 Apr 29, 2018
60ceed2
buffergeometry from marching cubes
spite Apr 29, 2018
65d0fe6
fixed item size
spite Apr 29, 2018
fd12341
Merge pull request #13952 from takahirox/MMDCameraCopyright
mrdoob Apr 29, 2018
261379e
Merge pull request #13953 from takahirox/MMDLoaderCLeanupInterpolation
mrdoob Apr 30, 2018
1b56759
Prevent aspect from affecting rotate speed
WestLangley Apr 30, 2018
0ea3ec0
Clean up
WestLangley Apr 30, 2018
3141eb5
SVGLoader : correction for sweep_flag
ndebeiss Apr 30, 2018
232586e
Set UUID (if exists) in ObjectLoader for AnimationClip
Apr 30, 2018
27f07c9
added concatenate
spite Apr 30, 2018
f2e3a81
Use singleline if for uuid validation
Apr 30, 2018
7521d0e
Merge pull request #13962 from ndebeiss/SVGLoader_sweep_flag
mrdoob Apr 30, 2018
8c6280b
Updated builds.
mrdoob Apr 30, 2018
9954afd
MMDPhysics minor optimization
takahirox Apr 30, 2018
afd78c8
Merge pull request #13968 from takahirox/MMDPhysicsMinorOptimization
mrdoob Apr 30, 2018
ad2f0ad
Merge pull request #13958 from WestLangley/dev-msgpack
mrdoob Apr 30, 2018
97f61ed
Merge pull request #13957 from WestLangley/dev-orbit_aspect
mrdoob Apr 30, 2018
60751a3
Merge pull request #13954 from Mugen87/dev4
mrdoob Apr 30, 2018
8916048
SVGLoader: Clean up.
mrdoob May 1, 2018
8037cbc
Adjust the size of the thickness map and invert its black/white color.
daoshengmu May 1, 2018
ae4bf3b
Adding the gui for controlling the parameters of thickness.
daoshengmu May 1, 2018
1b6b044
Merge pull request #13945 from daoshengmu/resize_thicknessmap
mrdoob May 1, 2018
bbfbe98
Merge pull request #13943 from etr2460/patch-1
mrdoob May 2, 2018
9da8e6a
Examples: Refactor webgl_multiple_elements_text
Mugen87 May 2, 2018
72338d2
Examples: Clean up
Mugen87 May 2, 2018
5d3fff3
Change OutlineEffect parameter format for serialization
takahirox May 2, 2018
7ebb523
Separating MMDAnimationHelper from MMDLoader.js
takahirox May 2, 2018
f3f33b5
Clean up MMDLoader
takahirox May 2, 2018
cd18a7c
Minor update of MMDPhysics
takahirox May 2, 2018
21043ad
Update MMD examples
takahirox May 2, 2018
83ed893
Add MMDLoader documentation
takahirox May 2, 2018
fc38b8c
Add MMDAnimationHelper documentation
takahirox May 2, 2018
dc2eda6
Update docs/list.js
takahirox May 2, 2018
c5fc743
Revert "Examples: New UV Debug Texture"
Mugen87 May 2, 2018
8f2c2fa
Added basic WebXR support.
mrdoob May 2, 2018
bd63a6c
Merge pull request #13978 from mrdoob/webxr
mrdoob May 2, 2018
c3de325
Updated builds.
mrdoob May 2, 2018
60e365a
Merge pull request #13975 from takahirox/MMDLoaderV2
mrdoob May 3, 2018
7143d8d
Examples: Clarify shader code
Mugen87 May 3, 2018
aa1153b
Merge pull request #13980 from Mugen87/dev7
mrdoob May 3, 2018
7e8fa83
Merge pull request #13974 from Mugen87/dev4
mrdoob May 3, 2018
14dce44
Update README.md
woodchuck00 May 3, 2018
2012e3e
Merge pull request #13984 from woodchuck00/patch-1
mrdoob May 3, 2018
4a32ee6
Merge pull request #13936 from Mugen87/dev11
mrdoob May 4, 2018
17641da
Merge pull request #13955 from spite/marchingcubes-buffergeometry
mrdoob May 4, 2018
54060c8
MarchingCubes: Clean up.
mrdoob May 4, 2018
b350859
MarchingCubes: Deprecated generateGeometry()
mrdoob May 4, 2018
75883b2
Merge pull request #13985 from mrdoob/marchingcubes
mrdoob May 4, 2018
1d97a7f
MarchingsCubes: Clean up
Mugen87 May 4, 2018
52ab356
Examples: Clean up
Mugen87 May 4, 2018
7ab9f8a
Update MMDAnimationHelper
takahirox May 4, 2018
cc3d60f
Update MMDPhysics
takahirox May 4, 2018
4304028
Update MMDAnimationHelper doc
takahirox May 4, 2018
155d58c
fast box3 applyMatrix4
mikialex May 4, 2018
a355aa8
use var instead of const
mikialex May 4, 2018
847ecb4
Update CCDIKSolver
takahirox May 4, 2018
5dc082c
Update MMDAnimationHelper
takahirox May 4, 2018
20e91eb
Update MMDPhysics
takahirox May 4, 2018
0e50b65
Update MMDLoader example
takahirox May 4, 2018
f455e85
Merge pull request #13986 from Mugen87/dev7
mrdoob May 4, 2018
df4fc95
Merge pull request #13987 from Mugen87/dev4
mrdoob May 4, 2018
99d02c8
Merge pull request #13826 from donmccurdy/feat-gltf-extensions
mrdoob May 4, 2018
21ed070
Crossfade: Moved to BufferGeometry
Mugen87 May 4, 2018
d5c5c46
Crossfade: Clean up
Mugen87 May 4, 2018
c3d53b2
Crossfade: Correct color values
Mugen87 May 4, 2018
0165725
WebXR: Added origin trials token
Mugen87 May 4, 2018
e6aeced
Added webvr token to editor
mrdoob May 4, 2018
d27bdc1
Clipping support
WestLangley May 5, 2018
695320b
Honor options.generateMipmaps in constructor
WestLangley May 5, 2018
c66280f
Clean up
WestLangley May 5, 2018
ba54e42
Update CCDIKSolver
takahirox May 5, 2018
6ba371a
Update MMDPhysics
takahirox May 5, 2018
8fd4c92
Update MMDLoader example
takahirox May 5, 2018
c90f19e
Update MMDAnimationHelper doc
takahirox May 5, 2018
b2db307
Add CCDIKSolver doc
takahirox May 5, 2018
b61a471
Add MMDPhysics doc
takahirox May 5, 2018
e364c86
Update docs/list.js
takahirox May 5, 2018
7eaaf20
Merge remote-tracking branch 'upstream/dev' into dev7
Mugen87 May 5, 2018
042ddbe
Editor: Added WebXR origin trials token
Mugen87 May 5, 2018
1fa63b9
GLTFLoader: Fix normalized attributes in Draco meshes.
donmccurdy May 4, 2018
0bf3782
DRACOLoader: Support attribute type map.
donmccurdy May 5, 2018
a4b52f8
DRACOLoader: Update libs.
donmccurdy May 5, 2018
a8c3bb1
GLTFLoader: Fix case for uncompressed attribute in Draco primitive.
donmccurdy May 5, 2018
22f53d6
Merge pull request #14001 from takahirox/MMDLoaderUpdate
mrdoob May 5, 2018
04e86d0
Merge pull request #14002 from donmccurdy/bug-gltfloader-draco-normal…
mrdoob May 5, 2018
307d9ee
Merge pull request #13996 from Mugen87/dev7
mrdoob May 5, 2018
e1032ae
Merge pull request #13884 from Mugen87/dev3
mrdoob May 6, 2018
7ed5131
Merge pull request #13999 from WestLangley/dev-fat_line_clipping
mrdoob May 6, 2018
06068e7
Merge pull request #14000 from WestLangley/dev-rt_mipmaps
mrdoob May 6, 2018
624b4e6
Merge pull request #13994 from Mugen87/dev4
Mugen87 May 6, 2018
6163e28
Examples: Clean up
Mugen87 May 6, 2018
fc77f81
Make solvers even animation is defined
takahirox May 6, 2018
9d9d09f
MMDLoader bug fix
takahirox May 6, 2018
d19a0fd
CCDIKSolver rotationMin/Max support
takahirox May 6, 2018
a873cb0
MMDLoader IK link rotationMin/Max support
takahirox May 6, 2018
5165c04
Change rotationMin/Max type to Vector3
takahirox May 6, 2018
2b397ae
Update CCDIKSolver doc
takahirox May 6, 2018
53b1867
Add instancing lambert example
WestLangley May 7, 2018
a2a744c
Fixing improper aspect ratio on window resize
Dawars May 7, 2018
5262440
handle resize event
WestLangley May 7, 2018
cb9dc43
GLTFExporter: Serialize material.userData
takahirox May 7, 2018
39a01e4
GLTFExporter add missing argument for catch
takahirox May 7, 2018
d953920
Merge pull request #14012 from WestLangley/dev-instancing_lambert
mrdoob May 7, 2018
2f2e5f7
Merge pull request #14014 from Dawars/patch-1
mrdoob May 7, 2018
fbe86b5
Merge branch 'master' into dev
mrdoob May 7, 2018
8fe9d13
Clean up.
mrdoob May 7, 2018
2a7da72
Merge pull request #14007 from takahirox/MMDLoaderUpdate2
mrdoob May 7, 2018
a846757
Merge pull request #14005 from Mugen87/dev7
mrdoob May 7, 2018
2521f1a
Merge pull request #13993 from mikialex/dev
mrdoob May 7, 2018
95c229a
Box3: applyMatrix4 clean up.
mrdoob May 8, 2018
e6c1350
Updated builds.
mrdoob May 8, 2018
7bd8304
WebXRManager: Removed console.logs.
mrdoob May 8, 2018
d0a3952
Merge pull request #14019 from mrdoob/webxr
mrdoob May 8, 2018
e10057f
Updated builds.
mrdoob May 8, 2018
65a6875
Merge pull request #13707 from takahirox/GLTFLoaderMultiMaterial
mrdoob May 8, 2018
f90e26b
Audio: Honor new autoplay policy in examples
Mugen87 May 8, 2018
11bf481
Examples: Format
Mugen87 May 8, 2018
735787d
GLTFExporter: Do not halt even if userData serialization fails.
takahirox May 8, 2018
affb727
GLTFExporter: Return an empty object if fails to serialize userData
takahirox May 8, 2018
c8d8498
WebVR: Update origin trial token
Mugen87 May 8, 2018
ee488e2
Merge pull request #14023 from Mugen87/dev4
mrdoob May 8, 2018
ef11a16
Merge pull request #14020 from Mugen87/dev11
mrdoob May 8, 2018
63f7f8b
Add collision handling
paulmasson May 8, 2018
1efb2dc
WebGLUniforms: Added caching for SingleUniform
Mugen87 May 8, 2018
fd1ad09
Improve collision handling
paulmasson May 8, 2018
a0bcb56
WebGLUniforms: Format
Mugen87 May 8, 2018
03681b7
Add updateMatrixWorld benchmark
mqp May 8, 2018
a2a0f99
Ensure alphaTest is formatted as a float
WestLangley May 9, 2018
b9ce7d7
WebGLInfo: Remove "uniformUpdates"
Mugen87 May 9, 2018
52f6cb3
WebGLUniforms: Introduce helper functions for caching
Mugen87 May 9, 2018
46ac01b
WebGLUniforms: Clean up
Mugen87 May 9, 2018
2e53873
Merge pull request #14025 from Mugen87/dev4
mrdoob May 9, 2018
139a480
WebGLUniforms: Fixing js performance regression. See #14025
mrdoob May 9, 2018
a9047c5
Updated builds.
mrdoob May 9, 2018
3b20168
WebXRManager: Added getStandingMatrix().
mrdoob May 10, 2018
1645dbf
Updated builds.
mrdoob May 10, 2018
ea49123
Updates OBJLoader2 to V2.4.1 which fixes the following bugs:
kaisalmen May 10, 2018
dfb93f6
Clean up enableAttribute of WebGLState
takahirox May 10, 2018
6351792
Merge pull request #14037 from takahirox/WebGLStateCleanup
mrdoob May 10, 2018
a0c93c9
Merge pull request #14027 from mquander/updatematrixworld-microoptimize
mrdoob May 10, 2018
332471b
WebGLUniforms: Clean up
Mugen87 May 10, 2018
5070255
Merge pull request #14038 from Mugen87/dev4
mrdoob May 11, 2018
7058bf8
Fix variable name.
pcsteppan May 11, 2018
91f702b
WebGLUniforms: Added caching for setValueT1a/setValueT6a
Mugen87 May 11, 2018
5431987
WebVR: Added exit webxr support.
mrdoob May 11, 2018
624b961
Merge pull request #14040 from Mugen87/dev4
mrdoob May 12, 2018
47a4fdf
Updated builds.
mrdoob May 12, 2018
4858285
Merge pull request #14039 from pcsteppan/patch-1
mrdoob May 12, 2018
19f6d3c
Merge pull request #14036 from kaisalmen/OBJLoader2_V241
mrdoob May 12, 2018
467e404
Merge pull request #14028 from WestLangley/dev-alpha_test3
mrdoob May 12, 2018
fcafe93
Updated builds.
mrdoob May 12, 2018
9d49330
Merge pull request #14026 from paulmasson/webvr
mrdoob May 12, 2018
cd32a0a
Added collision handling to Daydream example
mrdoob May 12, 2018
7d63f77
WebGLUniforms: Added full caching for PureArrayUniform
Mugen87 May 12, 2018
e0ec859
ConvexObjectBreaker: Clean up
Mugen87 May 12, 2018
dd90dbe
Minor cleanup
paulmasson May 13, 2018
51d12de
Fix inconsistency of return value from BufferGeometry .addAttribute
takahirox May 13, 2018
3268df1
Update BufferGeometry doc
takahirox May 13, 2018
1a4217b
Fix VRM Loader example. Material is MultiMaterial in general.
takahirox May 14, 2018
d2a102e
Use more appropriate rotation speed
FalkF May 14, 2018
78f33cf
Merge pull request #14056 from paulmasson/patch-1
mrdoob May 14, 2018
950bbfa
Merge pull request #14045 from Mugen87/dev4
mrdoob May 14, 2018
3bd2353
Merge pull request #14057 from takahirox/AddAttributeReturnValue
mrdoob May 14, 2018
4de955d
Updated builds
mrdoob May 14, 2018
03bfb1f
fix chromaticities return
richardmonette May 15, 2018
ae51595
GLTFLoader: Fix loadAnimation for Morph + MultiMaterial
takahirox May 15, 2018
6da565a
Merge pull request #14066 from richardmonette/fix-chromaticities-return
mrdoob May 15, 2018
3e0fe7a
Merge pull request #14062 from FalkF/patch-1
mrdoob May 15, 2018
e026cef
Merge pull request #14061 from takahirox/VRMLoaderExampleBugFix
mrdoob May 16, 2018
b7e9000
Replace ShaderMaterial with modified MeshLambertMaterial
WestLangley May 16, 2018
cd97b90
Merge pull request #14069 from WestLangley/dev-instancing_lambert2
mrdoob May 16, 2018
53ccb46
ImageBitmapLoader: Added missing resolveURL() call
Mugen87 May 16, 2018
939d37e
Merge pull request #14046 from Mugen87/dev7
Mugen87 May 16, 2018
79af30b
FileLoader: Remove redundant code
Mugen87 May 16, 2018
8004cf7
Examples: Reverted standard material example to TrackballControls
mrdoob May 16, 2018
6cc604a
Clean up.
mrdoob May 16, 2018
3d04a8c
Merge pull request #14071 from Mugen87/dev4
mrdoob May 16, 2018
b8473db
Merge pull request #14072 from Mugen87/dev11
mrdoob May 16, 2018
d2655e3
Updated builds.
mrdoob May 17, 2018
12fc183
ParametricGeometries: Remove optional target
Mugen87 May 17, 2018
1794855
Docs: Added note for skinned meshes
Mugen87 May 17, 2018
72a1a94
Merge pull request #14079 from Mugen87/dev11
Mugen87 May 17, 2018
b7faf43
ImageBitmapLoader: Fix signature of load()
Mugen87 May 17, 2018
5454f16
Docs: Added missing notes to ImageBitmapLoader
Mugen87 May 17, 2018
9ba1385
Merge pull request #14082 from Mugen87/dev7
mrdoob May 17, 2018
4f69fb5
Merge pull request #14081 from Mugen87/dev11
mrdoob May 17, 2018
d003192
Merge pull request #14078 from Mugen87/dev4
mrdoob May 17, 2018
41b6c87
Merge pull request #14015 from takahirox/GLTFExporterMaterialExtras
mrdoob May 17, 2018
c6ec8b2
Docs: Added missing notes to ImageLoader
Mugen87 May 17, 2018
8c1f735
Merge pull request #14083 from Mugen87/dev7
mrdoob May 17, 2018
d59f8fd
Docs: Clean up copy/paste error
Mugen87 May 17, 2018
f184fea
Updated builds.
mrdoob May 17, 2018
5153a2d
fix exr load edge case
richardmonette May 17, 2018
fb14154
VRMLoader prototype update
takahirox May 18, 2018
4fede64
DOF2: Fix broken example
Mugen87 May 18, 2018
4896d6f
BokehShader: Fix shader mode
Mugen87 May 18, 2018
959dfca
BokehShader2: Fix DOF calculation
Mugen87 May 18, 2018
066e210
GLTFLoader: Clean up loadAnimation
takahirox May 18, 2018
0e7eb76
Merge pull request #14093 from Mugen87/dev7
mrdoob May 18, 2018
45e55bb
Merge pull request #14084 from richardmonette/fix-exr-load-edge-case
mrdoob May 18, 2018
17afe07
Merge pull request #14092 from takahirox/VRMLoaderPrototypeUpdate
mrdoob May 18, 2018
2ec2aa0
Merge pull request #14067 from takahirox/GLTFLoaderMultiMaterialMorph…
mrdoob May 19, 2018
707d575
MMDLoader doc: Minor update
takahirox May 19, 2018
7dffdd2
Merge pull request #14095 from takahirox/MMDLoaderDocMinorUpdate
mrdoob May 19, 2018
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please also include a live example if possible. You can start from these templat
##### Three.js version

- [ ] Dev
- [ ] r90
- [ ] r92
- [ ] ...

##### Browser
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules
npm-debug.log
.jshintrc
.vs/
test/unit/three.*.unit.js
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
node_js:
- "8.9.4"
script:
- npm run travis
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ three.js
[![License][license-badge]][license-badge-url]
[![Dependencies][dependencies-badge]][dependencies-badge-url]
[![Dev Dependencies][devDependencies-badge]][devDependencies-badge-url]
[![Build Status](https://travis-ci.org/mrdoob/three.js.svg?branch=dev)](https://travis-ci.org/mrdoob/three.js)

#### JavaScript 3D library ####

Expand Down
2,203 changes: 1,437 additions & 766 deletions build/three.js

Large diffs are not rendered by default.

1,658 changes: 837 additions & 821 deletions build/three.min.js

Large diffs are not rendered by default.

2,203 changes: 1,437 additions & 766 deletions build/three.module.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/api/Polyfills.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@

<h1>Polyfills</h1>

<div class="desc">Three.js includes polyfills for the following functions and constants.</div>
<p class="desc">Three.js includes polyfills for the following functions and constants.</p>

<h3>[page:Number.EPSILON Number.EPSILON]</h3>
<div>
<p>
The difference between one and the smallest value greater than one that can be represented as a Number.
[link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/EPSILON MDN reference].
</div>
</p>

<h3>[page:Math.sign Math.sign]( [page:Number x] )</h3>
<div>
<p>
If the argument is a positive number, negative number, positive zero or negative zero,
the function will return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.
[link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign MDN reference].
</div>
</p>

<h3>[page:Function.prototype.name Function.prototype.name]( [page:Number x] )</h3>
<div>
<p>
Returns the name of a function, or (before ES6 implementations) an empty string for anonymous functions.
[link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name MDN reference].
</div>
</p>

<h3>[page:Object.assign Object.assign]( [page:Object target], [page:Object ...sources] )</h3>
<div>
<p>
The Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object.
It will return the target object.
[link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign MDN reference].
</div>
</p>

<h2>Source</h2>

Expand Down
12 changes: 6 additions & 6 deletions docs/api/Template.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<h1>[name]</h1>

<div class="desc">todo</div>
<p class="desc">todo</p>


<h2>Example</h2>
Expand All @@ -23,22 +23,22 @@ <h2>Example</h2>
<h2>Constructor</h2>

<h3>[name]([param:Number todo])</h3>
<div></div>
<p></p>


<h2>Properties</h2>

<h3>[property:Number todo]</h3>
<div>
<p>
todo
</div>
</p>


<h2>Methods</h2>

<h3>[method:null todo]()</h3>
<div>todo</div>
<div>todo</div>
<p>todo</p>
<p>todo</p>


<h2>Source</h2>
Expand Down
Loading