Conrad Wahlen
fdffd33631
setFromSpherical return type corrected ( #15101 )
2017-03-10 14:21:43 -08:00
Andy
51b64c3c15
Remove unnecessary references in test files. ( #14900 )
2017-03-10 07:46:20 -08:00
Calvin Jeong
d16834af9d
Add definition for TubeBufferGeometry ( #14949 )
...
Docs: https://threejs.org/docs/?q=tube#Reference/Geometries/TubeBufferGeometry
2017-03-09 22:31:37 -08:00
Mine Starks
e2bfc8542b
Merge pull request #14979 from piranha771/master
...
three updated from r83 to r84
2017-03-07 16:17:09 -08:00
Mine Starks
ea4bebdd93
Merge pull request #14971 from efokschaner/threejs-fix
...
three.js: enable noImplicitAny
2017-03-07 16:16:40 -08:00
David Asmuth
b836450089
Merge branch 'master' into master
2017-03-07 12:26:30 +01:00
Mine Starks
524b7f1519
Merge pull request #14549 from ivoisbelongtous/master
...
[three] Make TextGeometryParameters options optional.
2017-03-06 15:08:13 -08:00
efokschaner
cf49b406fd
three: Revert unneccessary version bump
2017-03-03 11:34:21 -08:00
David Asmuth
c8e66a28cf
three update to r84:
...
API changes to test_unit_math
2017-03-03 17:17:47 +01:00
David Asmuth
cdf6fea21c
three update to r84:
...
Updated d.ts version to 0.84.0
2017-03-03 17:04:03 +01:00
David Asmuth
45e57c68f1
three update to r84 #10405 , #10412 :
...
Vector2 renamed fromAttribute() to fromBufferAttribute(). #10412
Vector3 renamed fromAttribute() to fromBufferAttribute(). #10412
Vector3 combined applyProjection() into applyMatrix4(). #10405
Vector4 renamed fromAttribute() to fromBufferAttribute(). #10412
2017-03-03 16:34:00 +01:00
David Asmuth
3a74ffa8b1
three update to r84 #10415 , #10397 :
...
Spline deprecated in favour of CatmullRomCurve3. #10415
SplineCurve3 deprecated in favour of CatmullRomCurve3. #10397
2017-03-03 16:28:28 +01:00
David Asmuth
7c89a027f8
three update to r84 #10367 , #10375 :
...
Matrix3 removed applyToVector3Array(). #10367
Matrix4 removed applyToVector3Array(). #10367
Matrix4 changed makeFrustum() to makePerspective(). #10375
2017-03-03 16:16:42 +01:00
David Asmuth
3b020cdedc
three update to r84 #9597 :
...
EventDispatcher removed apply(). #9597
2017-03-03 16:11:25 +01:00
David Asmuth
2257d472b8
three update to r84 fe98988:
...
CurveUtils removed. fe98988
2017-03-03 16:09:22 +01:00
David Asmuth
5a592b8595
three update to r84 c8265b9:
...
Curve deprecated create(). c8265b9
2017-03-03 15:58:38 +01:00
David Asmuth
f67572a862
three update to r84 #10474 :
...
Box3 added expandByObject(). #10474
2017-03-03 14:03:07 +01:00
David Asmuth
9d25b0419d
three update r84 #10393 :
...
BinaryTextureLoader deprecated in favour of DataTextureLoader #10393
2017-03-03 13:57:56 +01:00
efokschaner
a75a5c9386
Fixes for TS version 2.0
2017-03-02 22:12:52 -08:00
efokschaner
3b0875ba2f
Bump three defs version
2017-03-02 21:20:24 -08:00
efokschaner
3bd5205de9
three: noImplicitAny remaining fixes
2017-03-02 20:58:59 -08:00
efokschaner
12f7edc747
three: use noImplicitAny=true wip
2017-02-27 23:31:21 -08:00
SirKhepre
ad602b106a
Added missing methods
2017-02-17 13:10:05 -05:00
SirKhepre
6939f95651
Fixed comments
2017-02-17 10:51:09 -05:00
SirKhepre
eb712dee7a
Added definition for ColladaLoader
2017-02-17 10:50:06 -05:00
Ivo Murrell
303462459e
Make TextGeometryParameters options optional.
2017-02-10 16:48:45 +00:00
Chunlei Hou
a97c65e4af
add three-octree.d.ts and three-ctmloader.d.ts
2017-02-08 10:53:02 +08:00
Chunlei Hou
8191468f64
add three-octree.d.ts and three-ctmloader.d.ts
2017-02-07 22:31:36 +08:00
Chunlei Hou
b9e1f8fedb
add three-octree.d.ts and three-ctmloader.d.ts
2017-02-07 22:13:43 +08:00
Calvin Jeong
877d3861de
Updated three/index.d.ts
...
Added extra properties for `Spherical` class.
2017-02-01 14:44:58 +13:00
Joshua Sheard
e22fc912b9
Fix typo in TrianglesDrawModes enum
2017-01-24 18:15:13 +00:00
Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Mathias Kahl
adec214d84
Added parameters onProgress and onError to TextureLoader.load ( #13523 )
...
* Augmented declarations of onProgress and onError
Corrected signature of TextureLoader.load which was missing parameters onProgress and onLoad. Also specified the concrete interfaces ProgressEvent and ErrorEvent in declarations of load methods based on FileLoader.
* updated three.js version in declaration header
2017-01-17 21:47:49 -08:00
David Asmuth
f10e807969
Renamed XHRLoader to FileLoader; Changed image parameter of Texture class constructor to optional." ( #13739 )
2017-01-12 09:40:38 -08:00
Andy
b1831c5b91
Clean up based on testing for unused files ( #13816 )
2017-01-06 14:23:26 -08:00
Andy
2f71174636
Restructure to support old versions ( #13811 )
...
* Restructure to support old versions
* Fix tests
2017-01-06 12:36:57 -08:00
Andy
3d6a15ee16
Strip BOM from all files ( #13735 )
2017-01-04 12:07:53 -08:00
Andy
19c26e91d8
Fix header versions that weren't parse-able. ( #13620 )
2016-12-29 15:56:26 -08:00
Chris Grigg
962bd3a273
Correct @types/three TubeGeometry path argument ( #13475 )
...
Despite being called "path," `TubeGeometry` requires a Vector3 curve. I think this came from someone misreading the docs (https://threejs.org/docs/#Reference/Geometries/TubeGeometry ), where it identifies the first argument like this:
```
path — Curve - A path that inherits from the Curve base class
```
The "Curve" in the description links to https://threejs.org/docs/#Reference/Extras.Core/Curve .
A `Path`, meanwhile, comes from a list of Vector2s, which seems totally incompatible.
2016-12-27 19:43:08 -05:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Dean Harding
e31c49ce6e
repetitions isn't optional after all
2016-12-08 18:38:13 +11:00
Dean Harding
9d67f745a7
The PR contains three fairly simple changes:
...
1. Geometry has method computeFlatVertexNormals (added in mrdoob/three.js#9222 )
2. The type of image in DataTexture is actually ImageData.
3. The type of the first parameter in AnimationAction.setLoop() is the enum AnimationActionLoopStyles.
2016-12-08 06:03:00 +11:00
Andy
45a9a433f4
Fix references to "stats" to "stats.js" ( #13150 )
2016-12-07 06:54:22 -08:00
Nathan Shively-Sanders
20556f45f4
Merge pull request #12842 from jadaradix/types-2.0
...
StereoCamera has eyeSep property https://github.com/mrdoob/three.js/p …
2016-11-23 13:11:56 -08:00
Nathan Shively-Sanders
983c93531a
Merge branch 'types-2.0' into types-merge-20161118
2016-11-21 16:16:59 -08:00
James Garner
8105872391
StereoCamera has eyeSep property https://github.com/mrdoob/three.js/pull/9432/files
2016-11-21 22:27:37 +00:00
Nathan Shively-Sanders
8924b489fa
Merge pull request #12805 from randombk/patch-2
...
three: Fix parameter type in Quaternion.dot
2016-11-21 09:18:06 -08:00
David Li
1ba13bf7e8
three: Fix typing for shader uniforms
...
The 'uniforms' property on shader parameters is an
object containing string->{value:any} mappings.
Signed-off-by: David Li <jiawei.davidli@gmail.com>
2016-11-18 23:06:07 -08:00
David Li
d03ee5bf0d
three: Fix parameter type in Quaternion.dot
...
Quaternion.dot takes in another quaternion as it's parameter.
Signed-off-by: David Li <jiawei.davidli@gmail.com>
2016-11-18 22:27:36 -08:00
Mine Yalcinalp Starks
253e456e3c
Merge remote-tracking branch 'upstream/master' into types-2.0
...
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00