Commit Graph
181 Commits
Author SHA1 Message Date
Ulrich Buchgraber b5e3b1987f Simplify typings by employing "polymorphic this types" for clone()/copy() methods
Note: This also solves TS 2.0 --strictNullChecks errors.
2016-09-16 18:36:06 +02:00
Florent Poujol a8657deb82 Update THREE.js definitions to r80. Fix some style errors (whitespaces and missing semicolons). 2016-09-06 08:23:07 +02:00
Michal MoravčíkandMasahiro Wakame a6191ce9e5 THREE js cleanup, removal of BoundingSphere interface (#10416)
* fixed typo

* replaced some arrays with ArrayLike

some math methods and objects are commonly used with geometry attributes which are TypedArrays

* removed BoundingSphere interface

geometry bounding spheres are THREE.Spheres and internally not only radius is used
2016-08-03 00:49:44 +09:00
Florent Poujol 3888e997f4 Fix typo in PerspectiveCamera class. 2016-08-01 22:36:42 +02:00
Florent Poujol 48418ab227 Expose TrackballControls.target property, fixes #9149
Fix typo in GeometryUtils.merge() method parameters, fixes #10182
2016-07-30 18:09:25 +02:00
Florent Poujol d5285fd288 Update THREE.js definitions to r79 2016-07-30 17:48:58 +02:00
Florent Poujol f92a29148a Update THREE.js definitions to r79 2016-07-30 17:41:50 +02:00
Kasidit Iamthong 4d586d46ce Revert removal of mouseX and mouseY. Correct domElement type and update parameter. 2016-07-04 08:07:34 +07:00
Kasidit Iamthong 55a25048a8 Fix THREE.FirstPersonControls and THREE.OrbitControls definition. 2016-07-04 04:05:48 +07:00
Oscar Lorentzon b99577c665 Correct param and return types for ShapeUtils triangulation methods. 2016-06-27 23:03:15 +02:00
spacejack 8118fe6ed5 Use jsdoc to mark deprecated Matrix methods, corrected MeshLambertMaterial.emissive type, added MeshPhysicalMaterial. 2016-06-20 20:59:55 -04:00
James BoothandMasahiro Wakame a272ceddfa three.js Vector3.project(camrea ->camera) typo fix (#9463) 2016-06-02 23:05:06 +09:00
Denis ShelomovskijandHoriuchi_H e69daec7f7 Fix LoaderHandler.add signature. (#9410)
Also specify `LoaderHandler.handlers` element type.
2016-05-23 13:13:17 +09:00
Elisée MaurerandMasahiro Wakame 74c1ffbba4 three: Fix a couple typos (#9348) 2016-05-16 23:53:51 -07:00
hberntsenandMasahiro Wakame e843172c97 Update stats.js typings to v0.16.0 (#9153) 2016-05-06 01:07:52 +09:00
Florian ReitererandMasahiro Wakame 2f6a508ae5 three.js material fixes (#9139)
* Fix three.js standard material "roughness" typo

* Fix three.js standard material missing map property
2016-05-02 00:38:41 +09:00
Florent POUJOLandMasahiro Wakame bc9b3d9c80 Update to THREE.js r75 (+1 squashed commits) (#8825)
Squashed commits:

[22b2161] Update definitions to THREE.js r75.
2016-04-17 23:17:54 +09:00
Shinya TerasakiandMasahiro Wakame f5407eba29 typo at TextGeometryParameters (#8874) 2016-04-12 21:55:27 +09:00
Masahiro Wakame 8cb9ee3fdf Merge pull request #8807 from SereznoKot/circle-buffer-geometry-inheritance
Fix CircleBufferGeometry inheriting from Geometry
2016-04-06 01:18:02 +09:00
Masahiro Wakame 5907e00f46 Merge pull request #8791 from SereznoKot/event-params
Fix dispatchEvent parameter
2016-04-06 00:37:05 +09:00
Alex Pyzhianov a89a7df160 Fix CircleBufferGeometry inheriting from Geometry 2016-04-01 17:44:13 +03:00
Stefan Profanter 8cdbc77ff3 added missing member 2016-03-31 17:02:48 +02:00
Alex Pyzhianov 34b5b27cda Fix dispatchEvent parameter
Fix dispatchEvent not alowing to add additional properties to event object
(as shown in usage example)
https://github.com/mrdoob/eventdispatcher.js
2016-03-31 12:45:32 +03:00
Horiuchi_H 0b735f43fe Merge pull request #8779 from SereznoKot/events
Fix EventDispatcher events, add Event interface
2016-03-31 15:52:19 +09:00
Alex Pyzhianov 01fb3b9315 Fix EventDispatcher events, add Event interface
- Remove target from dispatchEvent method, because only type is required
  to dispatch event and target field is inserted by three.js itself.
  https://github.com/mrdoob/three.js/blob/master/src/core/EventDispatcher.js

- Add Event interface for callback argument in addEventListener,
  hasEventListener, removeEventListener
2016-03-30 18:34:33 +03:00
SereznoKot 117ecb86cf Fix material and geometry types of Points
- Set type for material according to docs
- Make geometry parameter in constructor optional, because three.js provides a default value
- Make geometry type in constructor match one of the class member
2016-03-30 17:28:19 +03:00
Florent Poujol 123af07d7e Update definitions to THREE.js r74 2016-03-19 15:18:30 +01:00
Masahiro Wakame 7c314aa510 Merge pull request #8237 from Pro/master
Added three.js OrthographicTrackballControls
2016-03-19 14:53:17 +09:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Horiuchi_H 7fcbf3b827 Merge pull request #8373 from ben-hunter-hansen/master
Added faceIndex property to interface THREE.Intersection
2016-03-16 10:48:46 +09:00
fantavlik 355ec69c83 Update threejs/three.d.ts Intersection
Insersection was missing distanceToRay and index properties from three,js r73.
2016-03-14 16:55:44 -07:00
ben-hunter-hansen 7c04277f86 Added faceIndex property to interface THREE.Intersection 2016-03-03 13:09:43 -06:00
Stefan Profanter 1e05fac5c0 Added three.js OrthographicTrackballControls 2016-02-24 16:54:40 +01:00
vvakame 4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Yaroslav Sivakov c6c3d3e65d Update three.d.ts
Remove return value from traverse callback functions. Look at http://threejs.org/docs/#Reference/Core/Object3D.
2016-02-08 19:28:14 +03:00
Horiuchi_H bc92442c07 change CRLF to LF 2016-02-08 12:01:16 +09:00
Masahiro Wakame caa1a36430 Merge pull request #7873 from webbiesdk/threeConstructorVsNotConstructor
Three.js: Constructors should be declared with "new".
2016-02-06 23:44:13 +09:00
Masahiro Wakame 42ae0d56ca Merge pull request #7858 from webbiesdk/threeWorldUVGeneratorIsStatic
Three.js: WorldUVGenerator is a static field
2016-02-06 23:44:00 +09:00
Masahiro Wakame ceed7775ad Merge pull request #7857 from webbiesdk/threeAddDefaultLoadingManager
Three.js: Added the DefaultLoadingManager to the declaration file.
2016-02-06 23:42:29 +09:00
Masahiro Wakame f1513ed1a6 Merge pull request #7856 from webbiesdk/threeRemove2Classes
Three.js: Removed 2 classes that wasn't mentioned anywhere else.
2016-02-06 23:42:19 +09:00
Horiuchi_H 4ec3c5bf29 Merge pull request #7750 from matgr1/Object3D-matrix-properties
fixed Object3D.modelViewMatrix and Object3D.normalMatrix property definitions
2016-02-05 11:18:35 +09:00
Erik Krogh Kristensen 95882537d4 2 more interfaces with wrong functions. 2016-01-29 15:59:49 +01:00
Erik Krogh Kristensen a97b37afdc Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into threeConstructorVsNotConstructor 2016-01-29 15:54:28 +01:00
Erik Krogh Kristensen e219e9f1b8 Fixed some function being declared without "new".
And instances of classes doesn't have a constructor.
2016-01-29 15:53:29 +01:00
Erik Krogh Kristensen 495ca98636 WorldUVGenerator is a static field 2016-01-28 14:14:45 +01:00
Erik Krogh Kristensen 6c9f104705 Added the DefaultLoadingManager to the declaration file. 2016-01-28 13:17:42 +01:00
Erik Krogh Kristensen b64f1c9976 Removed 2 classes that wasn't mentioned anywhere else. 2016-01-28 11:18:36 +01:00
Aya Morisawa 48f20e97bf Remove trailing whitespaces 2016-01-27 20:17:35 +09:00