Commit Graph
103 Commits
Author SHA1 Message Date
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 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
Masahiro Wakame 43abb63206 Merge pull request #7740 from elisee/patch-1
Add declaration for THREE.Euler.DefaultOrder
2016-01-25 12:09:51 +09:00
matgr1 924fabc272 Update three.d.ts
fixed Object3D.modelViewMatrix and Object3D.normalMatrix property definitions
2016-01-23 14:04:34 -05:00
Elisée Maurer 19912b2331 Add declaration for THREE.Euler.DefaultOrder 2016-01-22 22:55:40 +01:00
Oscar Lorentzon 88296dd9b2 Correct parameter type for Vector4.setAxisAngleFromRotationMatrix.
The parameter to Vector4.setAxisAngleFromRotationMatrix is a
Matrix4 from which the upper 3x3 matrix is used, not a Matrix3.

See https://github.com/mrdoob/three.js/blob/master/src/math/Vector4.js#L271
for a reference.
2016-01-13 11:05:44 +01:00
Horiuchi_H 1153089254 Merge pull request #7200 from paulvanbrenk/master
Several updates to ThreeJs
2016-01-05 11:44:46 +09:00
Masahiro Wakame 9bd4ca5f4b Merge pull request #6700 from elisee/patch-1
three: Update comment for WebGLRenderer.clear
2015-12-23 15:41:15 +09:00
Ben Joffe dabf57f42e Fixed THREEJS CubeTextureLoader.load and TextureLoader.load 2015-12-15 21:21:41 +11:00
Paul van Brenk d275c4c26a Several fixes, and allow CSS-style string where a hex number is allowed. 2015-12-14 17:11:32 -08:00
Elisée 352d8a7f19 three: Add missing shadowMap WebGLRenderer member 2015-11-18 18:28:06 +01:00
satoru kimura bb53237cab Added missing properties for three.d.ts. 2015-11-13 16:11:37 +09:00
Elisée 63e48f4210 three: Update comment for WebGLRenderer.clear 2015-11-10 17:04:33 +01:00
Elisée Maurer a5264ccb8a three: Add SphereBufferGeometry, update webgl_custom_attributes test 2015-11-08 09:49:01 +01:00
Elisée Maurer 28ae494572 three: Update as much as possible to r73 2015-11-04 19:38:56 +01:00
Masahiro Wakame 6e403aa83c Merge pull request #6330 from chances/three-line-segments
Add LineSegments declaration
2015-11-02 21:52:44 +09:00
Masahiro Wakame da01a01f0a Merge pull request #6439 from spacejack/master
threejs: Updated BufferGeometry and added some related core types
2015-11-02 21:51:20 +09:00
spacejack 180b109a32 Re-added BufferGeometry.addAttribute and .addDrawCall and marked as deprecated. 2015-10-25 15:08:49 -04:00
spacejack 1163b3e5ff Re-added BufferGeometry.drawcalls and .offsets and marked as deprecated 2015-10-25 14:37:14 -04:00
spacejack 78aef6813e Updated BufferGeometry and added some related core types 2015-10-25 14:06:55 -04:00
Qinsi ZHU 9e401c8a40 update threejs/three
getObjectById() should accept a number
2015-10-23 14:50:21 +08:00
Chance Snow 148c290321 Fix clone method type annotations 2015-10-22 15:00:33 -07:00
Chance Snow 54d978c7eb Add LineSegments declaration 2015-10-16 15:27:45 -07:00
Daniel Rosenwasser 66d8ab38d0 Fixed type, added missing properties in 'threejs'. 2015-09-01 14:00:16 -07:00
Daniel Rosenwasser 60fa05e106 Reorganized properties in 'threejs'. 2015-09-01 14:00:13 -07:00
Masahiro Wakame f41d336c78 Merge pull request #5345 from almstrand/master
Correct THREE.MOUSE enum
2015-08-26 01:42:08 +09:00
satoru kimura c71755a6ab Removed a reference to waa.d.ts in three.js definition. 2015-08-23 17:32:56 +09:00
almstrand d874adfcb6 Correct enum THREE.MOUSE to include the only valid values {LEFT, MIDDLE, RIGHT}. Remove properties THREE.LEFT, THREE.MIDDLE, and THREE.RIGHT as those are not defined in the most recent version of Three.js (r71). 2015-08-12 17:20:07 -07:00
Stefan Profanter 98105f1e61 Changed BoundingBoxHelper constructor 2015-08-07 09:23:58 +02:00
Stefan Profanter dccc81ea05 Added transformcontrols and missing fields 2015-08-04 13:45:01 +01:00
satoru kimura 1c92de76a2 Updated to three.js r71. 2015-05-16 18:58:05 +09:00
yutopp a29ca9590b add "setSize" method to WebGLRenderTarget
https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderTarget.js#L40
2015-04-29 20:09:11 +09:00
Elisée 7ca777533d three.d.ts: SkinnedMesh accepts BufferGeometry too
THREE.js's SkinnedMesh class accepts BufferGeometry, not only Geometry for its first parameter
2015-04-27 18:00:56 +02:00
bilou84 2100d88b02 threejs/three.d.Ts: Make optional parameters actually optional 2015-04-02 19:29:09 +02:00
Eugene c4e849a93d Update three.d.ts
http://threejs.org/docs/#Reference/Extras.Helpers/BoundingBoxHelper
.box property type is THREE.Box3, not the array. Seems mistake.
2015-03-03 02:26:03 +06:00
satoru kimura 33bd3c9d76 update to three.js r70. 2015-01-20 13:19:00 +09:00
satoru kimura 533a5e30a9 fixed several definitions for three.js(THREE.Curve, THREE.Box3 and EffectComposer). 2014-12-18 23:46:42 +09:00
yutopp 5c48aedd1a change type of THREE.Quaternion.setFromUnitVectors
I think the parameter type should be Vector3.

[ref](https://github.com/mrdoob/three.js/blob/master/src/math/Quaternion.js#L257)  
[ref](http://threejs.org/docs/#Reference/Math/Quaternion)
2014-12-09 12:44:26 +09:00
John Quigley ad64d57954 Fix three.js PlaneGeometry/PlaneBufferGeometry typing
- PlaneBufferGeometry is a subclass of BufferGeometry
- PlaneGeometry is a subclass of Geometry
- both have the same constructor signature
2014-11-27 12:20:38 -05:00