Commit Graph

85 Commits

Author SHA1 Message Date
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
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
vvakame
6524981881 fix indent 2017-10-04 22:34:11 +09:00
Marcos Seefelder de Assis Araujo
a204a9cb02 [types/three] Added missing definitions to three-core.d.ts
Added multiply, premultiply and multiplyMatrices to Matrix3 class on three-core.d.ts. These were already present on Matrix4, just copied over and adapted code.
2017-10-03 14:52:07 -03:00
kato takeshi
64ea75d1c8 fixed arguments definitions of WorldUVGenerator's method in three-core (#20172)
* fixed arguments of WorldUVGenerator's method

* fixed type of arguments

* added missing space.
2017-10-03 10:44:22 -07:00
FishOrBear
bb451024c3 Clean code (#19818) 2017-09-25 16:50:24 -07:00
efokschaner
d371b8e934 three: BufferGeometry.setIndex accepts number[] (#19897)
This PR includes the suggestions recommended (by myself) in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19577.
If we merge this, please close the other.
Thanks @assafcw for identifying the original fix.
2017-09-25 13:51:31 -07:00
cx
6f475a26ea #fix renderOrder type 2017-09-08 21:56:59 +08:00
cx
6f5b0a4e9d # add RenderItem form RenderList 2017-09-08 21:44:13 +08:00
cx
7cc5f6681e Merge remote-tracking branch 'upstream/master' 2017-09-08 21:31:49 +08:00
Nathan Shively-Sanders
cd9eec20f7 Merge pull request #19340 from AnotherHermit/threejs-fixes
three.js remove faulty prefixes, add material array
2017-09-07 09:20:31 -07:00
Conrad Wahlen
3904dd3c99 Update Material class closer to three.js docs 2017-08-26 01:58:11 +02:00
Conrad Wahlen
0d10fe00db Add material array as option for Mesh and LineSegment 2017-08-25 14:04:26 +02:00
Conrad Wahlen
e386999be7 Remove THREE prefix where not needed 2017-08-25 14:01:16 +02:00
ChenX
90cc612b64 Add Class <WebGLRenderLists> and <WebGLRenderList> 2017-08-22 08:59:22 +08:00
ChenX
ab0d8e16cc Modify the type of material color. 2017-08-21 17:46:35 +08:00
Quinton Lee
e4f40b4033 three: Fix PointLight definition 2017-08-17 12:50:25 -05:00
Andy
af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00