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
Jaume Sanchez
1863849c3a
Fixed types for Mesh: Material is no longer an array of Materials
2018-02-07 11:52:59 +00:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
FishOrBear
38ebf1ed54
<threejs> add 'ShapeBufferGeometry' ( #23272 )
...
* add 'Texture' attribute: 'center','rotation'
* add 'ShapeBufferGeometry'
2018-02-02 13:46:24 -08:00
Matthias Dailey
27d3a88ae3
Object3D updates ( #23203 )
...
* Object3D updates
* Fix tests referring to old `shading` property.
2018-01-26 09:04:43 -08:00
Apurva Ojas
bd5a9a9abe
Enhancement @types/three Added definition for THREE.FilmPass #14042 ( #22981 )
...
* feat(FilmPass): Added Definition for Three.FilmPass
#14042
* fix(THREE.FilmPass): Definition update
fixed grayscale type, changed to boolean
#14042
* chore(THREE.FilmPass): Added name to efinitions By
#14042
* chore(THREE.FilmPass): Definitions added of variables and functions
#14042
* feat(THREE.Pass/THREE.FilmPass): Added Definitions for THREE.Pass and Extend it on THREE.FilmPass
#14042
* chore(THREE.FilmPass): Removed render function declarartion as it extends from Pass
#14042
2018-01-24 12:01:34 -08:00
Jonathan Alvarez-Gutierrez
dc50262033
Update Polyhedron Geometries in "three" ( #22889 )
...
* Add PolyhedronBufferGeometry and subclasses
Added PolyhedronBufferGeometry and the four BufferGeometries subclassing it (TetrahedronBufferGeometry, OctahedronBufferGeometry, DodecahedronBufferGeometry, and IcosahedronBufferGeometry).
* Fix constructors for PolyhedronGeometry subclasses
The PolyhedronGeometry subclasses all have optional parameters for their constructor, but not all the type definitions were in line on this.
2018-01-17 10:00:09 -08:00
spacejack
2e11609c20
Add WebVRManager, ArrayCamera support ( #22900 )
2018-01-17 09:49:36 -08:00
John Marinelli
c1ebcacdb9
Replace Vector3 with Vector2 for lathe geometry type, edit tests ( #22895 )
2018-01-17 09:42:48 -08:00
sergsar
3b091f190c
three-core.d buffer attribute missed typing ( #22728 )
2018-01-07 00:22:36 -08:00
Matthias Dailey
e3c87baad7
Add Cylindrical typings ( #22659 )
2018-01-04 09:23:38 -08:00
Daniel Hritzkiv
8829824eae
Add getRenderTarget; deprecate getCurrentRenderTarget() ( #22654 )
...
* Add `getRenderTarget`; deprecate `getCurrentRenderTarget()`
* Update revision number; Update website; Add definition contributor
Changed project website to the more common https://threejs.org
2018-01-03 12:39:29 -08:00
FishOrBear
658ddd4d17
add 'Texture' attribute: 'center','rotation' ( #22612 )
2018-01-03 09:57:52 -08:00
Farouk Abdou
d571b322e6
Corrections on InterleavedBuffer and InterleavedBufferAttribute
2017-12-15 21:10:00 +01:00
Daniel Hritzkiv
e65d1a0bf4
Revert color property type changes
...
`Color | string | number` can be passed in as arguments for color, but are stored as `Color`. Oops.
2017-12-05 12:56:21 -05:00
Daniel Hritzkiv
03d7983aa6
Color fields to accept Color | string | number
...
Set color properties/arguments to accept `Color | string | number` instead of just `Color` or just `string` or `number`; misc. changes
2017-12-05 12:42:35 -05:00
ChenX
c1aa9c5c50
update Geometry functions
2017-11-24 16:52:53 +08:00
ChenX
3ec006e824
add Member variables
2017-11-22 17:19:42 +08:00
Benjamin Lichtman
432973c4a1
Merge pull request #21593 from FishOrBear/master
...
# update threejs ,addfunction and add outlinepass and add SMAAPass
2017-11-21 10:48:06 -08:00
FishOrBear
dc3c3abb5d
Rename three-SMAAPass.d.ts to three-smaapass.d.ts
2017-11-21 14:05:59 +08:00