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
ckddbs
65cb0f9e93
Added FBXLoader ( #17967 )
2017-07-17 10:56:06 -07:00
Ryan Cavanaugh
b448a21ae9
Merge pull request #17908 from simonkorz/master
...
three: Specify DirectionalLightShadow types to access OrthographicCamera's properties
2017-07-14 00:22:49 -07:00
Nathan Shively-Sanders
47da4ae711
Merge pull request #17862 from Flur/master
...
Added OBJLoader, MTLLoader, DDSLoader few fixes in core
2017-07-10 13:57:28 -07:00
Flur
bdc0554a96
- add events
2017-07-10 23:20:25 +03:00
Flur
25e6685bd4
- add null return
2017-07-10 22:50:13 +03:00
Simon Korz
bb558a2d79
three: Specify DirectionalLightShadow types
...
- DirectionalLight.shadow from LightShadow to DirectionalLightShadow
- DirectionalLightShadow.camera from Camera to OrthographicCamera
Reason: DirectionalLight always uses DirectionalLightShadow with
OrthographicCamera and properties of OrthographicCamera that are not in
Camera need to be available.
Also see:
https://threejs.org/docs/index.html#api/lights/shadows/DirectionalLightShadow
2017-07-10 14:05:10 +02:00
Flur
96d54ca44d
- add AnyLoader
2017-07-09 20:23:17 +03:00
Flur
8158a75e87
- changes accrording to review
2017-07-09 16:41:18 +03:00
Flur
2d0f4f99e2
-add DDSLoader -add test file for OBJLoader, MTLLoader, DDSLoader - minor changes in core
2017-07-08 14:50:46 +03:00
hjin-me
b66d4b85f0
add missing MaterialParameters
2017-06-28 10:43:10 +08:00
João Paulo
b90bbb2a09
Update three-core.d.ts
...
Changing normalScale type to Vector2 instead of number on MeshStandardMaterial
2017-06-22 16:40:51 -03:00
Mine Starks
663442789d
Merge pull request #17220 from Richard004/master
...
[three] fix of FontLoader callback parameter type from string to Font
2017-06-16 10:39:10 -07:00
Richard Vondráček
fd80ffb92c
Fixed typings for FontLoader.
2017-06-15 17:22:46 +02:00
Flur
23b7cd1674
* add OBJLoader
...
* add MTLLoader
* Geometry merge add parameter
* Object3D onBeforeRender, on AfterRender
* Object3D add delete fixed number of parameters
2017-06-12 15:45:17 +03:00
Matthew Tebbs
270ade8bee
three: Fixed declaration for class PolyhedronGeometry in three-core.d.ts to use number arrays and not Vector3/Face3 arrays.
2017-06-08 13:42:12 -07:00
LebedenkoN
ca10f0d24d
@types/three: Wring typings for ObjectLoader.parseImages #16914 ( #16915 )
...
* Update three-core.d.ts
fixed typings for THREE.ObjectLoader.parseImages
* Update three-core.d.ts
Changed result of ObjectLoader.parseImages function to more specific type
2017-06-06 06:32:27 -07:00
couchninja
701436e533
Add OBJLoader, OBJLoader2 and STLLoader ( #16952 )
...
* Add OBJLoader, OBJLoader2 and STLLoader
Add placeholder entries for OBJLoader, OBJLoader2 and STLLoader from the THREE examples.
* Fixed whitespace
2017-06-04 13:59:07 -07:00
jramsay
89578a5f1e
Merge pull request #16560 from markezine/patch-2
...
Update three-core.d.ts
2017-06-01 13:25:11 -07:00
noveyak
702a5fa4b9
Make data texture constructor consistent with other textures ( #15928 )
2017-06-01 06:56:56 -07:00