Commit Graph

53 Commits

Author SHA1 Message Date
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
João Paulo
50220b73ef Update three-core.d.ts
fixing typos - lighhtMap to lightMap
2017-05-16 16:24:59 -03:00
João Paulo
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 Nikolaev
2eae6bc173 Fix Triangle.closestPointToPoint() prototype (#16141) 2017-04-26 08:03:17 -07:00
efokschaner
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 Cavanaugh
4675a06a1b Merge pull request #15901 from mpk/master
three: Fix typo in WebGLRenderTarget
2017-04-17 23:55:08 -07:00
Ryan Cavanaugh
3a4aa421a7 Merge pull request #15841 from saabi/master
Corrected definitions of BlendingSrcFactor and BlendingDstFactor in Three.js
2017-04-17 15:20:46 -07:00
mpk
408bf702fa Fix typo in WebGLRenderTarget 2017-04-16 19:37:28 +02:00
efokschaner
dba8bd4cab Re-add accidentally deleted comment 2017-04-14 23:04:12 -07:00
efokschaner
9f35df09aa Remove unnecessary tween.js references 2017-04-14 03:57:38 -07:00
efokschaner
66783b2869 Switch tsconfig back to "files" 2017-04-14 03:53:56 -07:00
efokschaner
00cef2e45b Make THREE non-global 2017-04-14 03:08:17 -07:00
Saabi
ab2636474e Corrected definitions of BlendingSrcFactor and BlendingDstFactor 2017-04-13 09:37:32 -03:00