Commit Graph
60 Commits
Author SHA1 Message Date
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
AndyandGitHub 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 KirchmeierandSheetal Nandi 1bdff99ed0 three: Add color as valid type for light constructors (#20804) 2017-10-23 15:27:39 -07:00
neukymandWesley Wigham 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
AndyandGitHub 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 AraujoandGitHub 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 takeshiandRyan Cavanaugh 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
FishOrBearandMohamed Hegazy bb451024c3 Clean code (#19818) 2017-09-25 16:50:24 -07:00
efokschanerandMohamed Hegazy 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-SandersandGitHub 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 LeeandGitHub e4f40b4033 three: Fix PointLight definition 2017-08-17 12:50:25 -05:00
AndyandGitHub af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
ckddbsandAndy 65cb0f9e93 Added FBXLoader (#17967) 2017-07-17 10:56:06 -07:00
Ryan CavanaughandGitHub 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-SandersandGitHub 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 PauloandGitHub 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 StarksandGitHub 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áčekandGitHub 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
LebedenkoNandAndy 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
couchninjaandMohamed Hegazy 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
jramsayandGitHub 89578a5f1e Merge pull request #16560 from markezine/patch-2
Update three-core.d.ts
2017-06-01 13:25:11 -07:00
noveyakandAndy 702a5fa4b9 Make data texture constructor consistent with other textures (#15928) 2017-06-01 06:56:56 -07:00
João PauloandGitHub 50220b73ef Update three-core.d.ts
fixing typos - lighhtMap to lightMap
2017-05-16 16:24:59 -03:00
João PauloandGitHub c886bcf40e Update three-core.d.ts
please change the return type of the load method of CubeTextureLoader to reflect the behaviour of the library.
2017-05-16 15:43:39 -03:00
Ivan NikolaevandAndy 2eae6bc173 Fix Triangle.closestPointToPoint() prototype (#16141) 2017-04-26 08:03:17 -07:00
efokschanerandAndy c59b52e585 (Hopefully) Remove test dependencies from npm package (#16013) 2017-04-20 07:02:52 -07:00
efokschaner 393b8de781 Merge upstream master 2017-04-19 01:13:07 -07:00
Ryan CavanaughandGitHub 4675a06a1b Merge pull request #15901 from mpk/master
three: Fix typo in WebGLRenderTarget
2017-04-17 23:55:08 -07:00