Daniel Rosenwasser
140398df91
Merge pull request #25830 from jcyuan/master
...
fixed typing error & argument type error for THREE.js.
2018-05-26 22:34:07 -07:00
Daniel Rosenwasser
adcc74691a
Merge pull request #25956 from nofree5th/master
...
[three.js] Fix FontLoader/Font json type declare
2018-05-23 22:49:48 -07:00
nofree
516d4bb607
Fix FontLoader/Font json type declare
2018-05-23 13:29:32 +08:00
Ford Hurley
eb59409935
THREE.BufferGeometry.setFromPoints accepts Vector2s as well
...
The documentation shows examples of this, e.g.:
https://threejs.org/docs/#api/extras/curves/EllipseCurve
The source code shows how it handles an array of either type:
https://github.com/mrdoob/three.js/blob/2f2e5f731/src/core/BufferGeometry.js#L352
2018-05-20 09:52:28 -04:00
J.C
c91d807e1c
fixed typing error & argument type error.
2018-05-17 13:34:54 +08:00
Ron Buckton
7103b727bf
Merge pull request #25752 from sethk/threejs-updates
...
Update some three.js types
2018-05-15 12:50:29 -07:00
Ron Buckton
7d8b244510
Merge pull request #25772 from Astrak/threejs-webglinfo
...
Three.js : Add WebGLInfo.
2018-05-15 12:10:16 -07:00
Adrien Coffre
928f885297
Update programs too.
2018-05-15 11:55:59 +02:00
Adrien Coffre
809121fb60
Fix.
2018-05-15 11:46:19 +02:00
Seth Kingsley
c5a263a535
Merge branch 'threejs-updates' of github.com:sethk/DefinitelyTyped into threejs-updates
2018-05-14 21:47:40 -07:00
Seth Kingsley
ba18036345
PATCH 2
2018-05-14 21:45:15 -07:00
Atrahasis
d403c1c1d9
Add WebGLInfo
2018-05-14 22:03:58 +02:00
Seth Kingsley
4f5020b79e
Merge branch 'master' into threejs-updates
2018-05-13 15:51:36 -07:00
Seth Kingsley
e51b5c893c
PATCH 1
...
Update version number and CC myself
2018-05-13 15:49:42 -07:00
Seth Kingsley
a11ee4ecf4
Update some three.js types
2018-05-13 01:18:56 -07:00
Matthew Tebbs
57c2a02c4d
Add missing dispose() method type.
2018-05-12 11:30:33 -07:00
Ender Doe
2b2d81c226
Fixed Three Edge Geometry definition ( #25627 )
2018-05-09 11:26:37 -07:00
FishOrBear
e453232df5
[three.js] class CatmullRomCurve3 ( #25569 )
...
* add 'Texture' attribute: 'center','rotation'
* add 'ShapeBufferGeometry'
* Geometry: Move computeLineDistance() to Line
* return this
* update CatmullRomCurve3
* fix type
2018-05-07 09:03:45 -07:00
Andre Z Sanchez
44bc3b6c86
Fix Three.ParametricGeometry arguments ( #25514 )
2018-05-04 13:52:05 -07:00
heroboy
cc428670a2
[THREE]fix class Raycaster and add jsdoc ( #25151 )
...
* Update three-core.d.ts
add `optionalTarget` parameter
* Update three-core.d.ts
add Curve.arcLengthDivisions
* fix Indentation
* fix class Raycaster
2018-04-21 05:29:18 +12:00
heroboy
c72a09b00f
[THREE] add Curve.arcLengthDivisions ( #25116 )
...
* Update three-core.d.ts
add `optionalTarget` parameter
* Update three-core.d.ts
add Curve.arcLengthDivisions
* fix Indentation
2018-04-19 10:58:49 -07:00
heroboy
8030410d9b
Update three-core.d.ts ( #24989 )
...
add `optionalTarget` parameter
2018-04-16 15:25:29 -07:00
Tiger Oakes
6c5c0a8898
[three] CubeTextureLoader: Fixed crossOrigin typo and made types more precise ( #24848 )
...
* Updated CubeTextureLoader types
* Feedback: keep `urls` as plain array
2018-04-09 13:26:18 -07:00
Xiaohan Zhang
d472efccd0
threejs - use correct skinWeights and skinIndices types ( #24800 )
2018-04-09 10:52:14 -07:00
FishOrBear
c261382807
<threejs> Geometry: Move computeLineDistance() to Line ( #24803 )
...
* add 'Texture' attribute: 'center','rotation'
* add 'ShapeBufferGeometry'
* Geometry: Move computeLineDistance() to Line
* return this
2018-04-09 10:23:11 -07:00
Stefan Lacatus
882c7f3829
[Three] Added missing methods in Transform Controls ( #24819 )
...
* Update three-transformcontrols.d.ts
Added missing methods
* Update three-core.d.ts
Added missing isMesh prop
2018-04-09 10:22:59 -07:00
Furos86
7dd9844eae
Added onProgress and onError arguments to the load function of MaterialLoader ( #24834 )
...
see https://threejs.org/docs/#api/loaders/MaterialLoader.load
2018-04-09 10:01:15 -07:00
Nathan Shively-Sanders
2df5e7ddd7
Merge pull request #24593 from Feirell/master
...
[three] Added PlaneHelper in three-core.d.ts
2018-03-29 15:20:45 -07:00
Feirell
e2d2716e8c
[three] added test for PlaneHelper
2018-03-29 23:07:15 +02:00
Nathan Shively-Sanders
535cbe8edd
Merge pull request #24432 from abdulsattar/patch-1
...
Make renderTarget in setRenderTarget optional
2018-03-28 10:33:19 -07:00
Feirell
bf57bd768b
Added PlaneHelper in three-core.d.ts
2018-03-28 17:03:24 +02:00
Nathan Shively-Sanders
18ce22b629
Merge pull request #24382 from pvavrik/master
...
Three: add TextBufferGeometry
2018-03-26 12:36:45 -07:00
Vladimir Tikhonov
1fbf0acb08
THREE.js: Vector2 improvements
...
* Added applyMatrix3 method.
* Fixed signature of fromBufferAttribute method.
* Added some missing docs.
2018-03-24 12:20:08 +03:00
Tiger Oakes
6bafc9a4d6
Updated triangle static methods
2018-03-21 09:29:46 -07:00
Tiger Oakes
afc8d0533d
Added migration changes for 0.89 -> 0.91
2018-03-21 09:29:46 -07:00
pvavrik
49e76eb838
Three: remove TextBufferGeometryParameters iface, reuse TextGeometryParameters instead
2018-03-21 10:10:54 +01:00
Abdulsattar Mohammed
f2d6f88dc6
Make renderTarget in setRenderTarget optional
...
RenderTarget can be null in `WebGLRenderer` which can be used to unbind the frame buffer. It is actually used by `WebGLRenderer#render` which accepts a `null` `renderTarget` to and calls `setRenderTarget` with that null value.
2018-03-21 11:48:50 +05:30
pvavrik
e1f320d2d6
Three: add ExtrudeBufferGeometry needed by TextBufferGeometry
2018-03-20 09:16:47 +01:00
pvavrik
8e89cb103e
Three: add TextBufferGeometry
2018-03-19 16:56:56 +01:00
Łukasz Moroz
b158c34553
three: Correct Plane.coplanarPoint argument type
2018-03-17 19:30:57 +01:00
Victor Glindås
0fc135e887
Updates mesh to use a optional material array.
...
The material property on Mesh should be a material or an array of materials.
2018-03-02 09:54:19 +01:00
Kevin Tjiåm
5bdd72f928
[@types/three] Fix function signatures for some Animation related classes ( #23782 )
...
* fix(three): fix function signature for AnimationMixer.stopAllAction
* fix(three): change first arg in AnimationClip.findByName to array
2018-02-26 08:55:52 -08:00
Andy
aec14ac773
three: Remove unnecessary dat.gui dependency ( #23857 )
2018-02-22 09:26:54 -08:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
15d417b35b
Merge pull request #23557 from G-Rath/improve-documentation-of-deprecated-features
...
THREE: Improve documentation of deprecated features
2018-02-13 16:20:43 -08:00
Kael
37e3bf20ea
SpotLightShadow uses PerspectiveCamera
2018-02-13 14:46:32 +11:00
Daniel Rosenwasser
58ae4289c1
Merge pull request #23551 from shroudedcode/three-rename-axishelper
...
[three] Rename AxisHelper to AxesHelper
2018-02-12 18:12:00 -08:00
Gareth Jones
0c3bf50855
Filled out most deprecation messages.
2018-02-11 14:09:51 +13:00
Gareth Jones
4de64b895a
added @deprecated to all deprecated methods and parameters.
...
Also added missing manhattan math method signatures to Vector classes, and `setFromPoints` method to `Path` class.
2018-02-11 13:04:12 +13:00
Niklas Higi
b840641d91
Rename AxisHelper to AxesHelper
2018-02-10 15:31:29 +01:00