Commit Graph

87 Commits

Author SHA1 Message Date
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
Guido Zuidhof
1e06608513 Fix three.js Vector3 typing 2014-11-21 02:17:57 +01:00
satoru kimura
ee05b1163d Changed several definition headers. 2014-11-16 08:58:23 +09:00
satoru kimura
0cca9182b9 update to three.js r69. 2014-11-02 21:13:02 +09:00
satoru kimura
bd93df164f Added utility classes of three.js (and minor modifications). 2014-10-24 09:14:39 +09:00
Masahiro Wakame
ae1b6e80ef Merge pull request #3002 from errorx666/threejs-module
alias THREE as 'three' for AMD modules
2014-10-21 11:43:37 +09:00
error
5b58a7a5de alias THREE as 'three' for AMD modules 2014-10-20 14:00:40 -05:00
satoru kimura
a1e4a81479 Some bug fixes. 2014-10-20 00:31:23 +09:00
Yaroslav Sivakov
08631f45a3 fix three.js 2014-10-07 17:13:11 +04:00
Basarat Ali Syed
a2523d8c69 Merge pull request #2909 from yar3333/patch-1
Update three.d.ts
2014-10-06 16:48:13 +11:00
Basarat Ali Syed
888bf81272 Merge pull request #2907 from drewnoakes/threejs
Fix incorrect signature of JSONLoader.parse(...)
2014-10-05 17:51:31 +11:00
Drew Noakes
995b145b1a Change 'Object' to 'any'. 2014-10-01 17:58:08 +01:00
yar3333
f5e81d0f09 Box2 & Box3 fixes 2014-10-01 14:00:33 +04:00
yar3333
30e71c2dab Update three.d.ts 2014-10-01 13:52:02 +04:00
yar3333
38cac3dc09 Update three.d.ts
Path fixes
2014-10-01 01:50:33 +04:00
Drew Noakes
d70c76ffdc Fix incorrect signature of JSONLoader.parse(...) 2014-09-30 22:13:27 +01:00
Masahiro Wakame
aa9136cce3 Merge pull request #2716 from gyohk/master
Rearranged the order of the methods and properties in this definition, t...
2014-08-29 11:21:55 +09:00