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
FishOrBear
3759643aa1
Rename three-OutlinePass.d.ts to three-outlinepass.d.ts
2017-11-21 13:56:07 +08:00
ChenX
928d7aacab
clear code
2017-11-21 13:49:59 +08:00
cx
f9886d4f27
update
2017-11-18 23:12:37 +08:00
cx
aa823497f0
#three.js update new function name
2017-11-18 23:10:09 +08:00
ChenX
d66780309a
clear code.
2017-11-17 17:23:44 +08:00
ChenX
f041723988
add OutLinePass and SMAAPass
2017-11-17 17:15:30 +08:00
ChenX
79e1c170a8
update new function
2017-11-17 17:08:46 +08:00
Roelof
ed60772e25
Added the BufferGeometry.setFromPoints method with the return type of BufferGeometry. Also added the return type of BufferGeometry to the existing BufferGeometry.setFromObject method.
2017-11-15 12:06:31 +02:00
Lutz Hoeren
48d0a436ab
Merge branch 'master' into patch-1
...
* master: (356 commits)
vuex-i18n: Fixes from code review (#21418 )
resourcejs: Increase TypeScript version to match mongoose
leaflet.polylinemeasure: Add TypeScript version
updated TS version to 2.3 for abel-webpack-plugin.
crlf -> lf
Make hljs a proper UMD module
Use only major.minor for `highlight.js`.
atom: fix several incorrect definitions.
Update index.d.ts
Node: `path.format` input properties are optional (#21003 )
New typings for fs-cson module (#21375 )
New typings for bunyan-format module (#21376 )
[chart.js] Add 'pie' to ChartType
Update highlight.js version to latest (9.12.0)
Fix type for highlight.js continuation argument
Fixed errors after dts-gen
New typings for module wtfnode
fix getMeasure result fix: IGenericDimensionLayout
change return Value of getDimension() from Dimension Object
puppeteer: setCookie should be less strict
...
# Conflicts:
# types/three/test/css3d/css3d_sprites.ts
# types/three/test/webgl/webgl_materials.ts
2017-11-11 09:53:58 +01:00
Lutz Hoeren
3ac95498e2
Fixing 'ban-comma-operator' error in tests
2017-11-04 00:13:13 +01:00
Lutz Hören
b706ab00fe
Cleanup
2017-11-03 12:56:51 +01:00
Lutz Hören
7a6cd21dda
replaced commas with semicolon
2017-11-03 12:48:22 +01:00
Lutz Hören
d64b478360
replaced comma separated member variables with semicolo
2017-11-03 12:47:49 +01:00
Lutz Hören
dcf8e3a469
Removed Global Scope THREE
...
RenderItem had references to Global THREE object. These caused in unresolved type THREE.
2017-11-03 11:33:26 +01:00
Farouk Abdou
64e468b4b4
correcting BufferAttribute.set
2017-11-02 09:51:50 +01:00
Farouk Abdou
eb960010ca
forget...
2017-11-02 07:51:25 +01:00
Farouk Abdou
290e18052f
reajust to ArrayBufferView instead of ArrayLike + correct set method signature
2017-11-02 07:47:05 +01:00
Farouk Abdou
531d89c5d4
Correct the linting into tests
2017-11-01 19:10:02 +01:00
Farouk Abdou
174705a93e
Three.js: add setArray to BufferAttribute see https://github.com/mrdoob/three.js/blob/master/src/core/BufferAttribute.js#L50
2017-11-01 16:12:51 +01:00
Andy
19f89399e4
Ensure every package has a tslint.json ( #21009 )
...
* Ensure every package has a tslint.json
* Fixes
2017-10-25 11:13:50 -07:00
Danny Kirchmeier
1bdff99ed0
three: Add color as valid type for light constructors ( #20804 )
2017-10-23 15:27:39 -07:00
neukym
2d3eb914e5
[@types/three] Adds morphTargetInfluences and morphTargetDictionary to mesh on three-core.d.ts ( #20490 )
...
* Adds morphTargetInfluences and morphTargetDictionary to mesh class
* Replaces morphTargetDictionary object type in three-core.d.ts
2017-10-13 15:08:35 -07:00