Commit graph

27 commits

Author SHA1 Message Date
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
d3e318a51c Added projectViewMatrix and unprojectViewMatrix. 2020-09-30 13:39:48 +01:00
Richard Davey
7896bb4157 Added new methods.
* `Vector3.setFromMatrixPosition` is a new method that will set the components of the Vector3 based on the position of the given Matrix4.
* `Vector3.setFromMatrixColumn` is a new method that will set the components of the Vector3 based on the specified Matrix4 column.
* `Vector3.fromArray` is a new method that will set the components of the Vector3 based on the values in the given array, at the given offset.
* `Vector3.min` is a new method that will set the components of the Vector3 based on the `Main.min` between it and the given Vector3.
* `Vector3.max` is a new method that will set the components of the Vector3 based on the `Main.max` between it and the given Vector3.
* `Vector3.addVectors` is a new method that will set the components of the Vector3 based on the addition of the two Vector3s given.
* `Vector3.addScalar` is a new method that will multiply the components of the Vector3 by the scale value given.
* `Vector3.applyMatrix3` is a new method that will take a Matrix3 and apply it to the Vector3.
* `Vector3.applyMatrix4` is a new method that will take a Matrix4 and apply it to the Vector3.
2020-09-30 13:18:45 +01:00
Richard Davey
d40f99c332 Vertor3.addScale is a new method that will add the given vector and multiply it in the process. 2020-09-17 18:07:54 +01:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
63e1ddb20b Tidying up the code format. 2019-01-18 16:11:59 +00:00
Richard Davey
11dc4dcce2
Merge pull request #4290 from Aedalus/master
Vector2/3 Constants
2019-01-18 16:09:54 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Alexander Higgins
bc602949b8 Added reference constants to Vector2 and Vector3 2019-01-10 21:11:26 -05:00
Richard Davey
07bb619c5e Added jsdocs 2018-10-19 16:14:51 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
e297b3272e Added hundreds of new jsdoc descriptions 2018-10-01 11:35:01 +01:00
Chris Andrew
e140640583 Minor punctuation fix for Vector distanceSq() method descriptions. 2018-06-14 15:12:10 +01:00
Chris Andrew
dad6b78c9b Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside. 2018-05-31 15:17:59 +01:00
Chris Andrew
03fee98511 Reverted Vector3.setTo() implementation. Fixed an ESLint issue in RenderTexture. 2018-05-23 18:37:32 +01:00
Chris Andrew
01d45f5d83 Documented most of Vector4. Improved documentation consistency between Vector classes. 2018-05-23 15:00:03 +01:00
Chris Andrew
c9d17fb9c7 Implemented Vector3.setTo() (alias for set()).
Fixed some documentation mistakes. Removed appropriate TODO.
2018-05-23 12:19:31 +01:00
Chris Andrew
d8163439a1 Documented most of Vector3. Improved Vector2 documentation. 2018-05-23 12:15:16 +01:00
orblazer
7e05b333a0 Fix multiple types on Math 2018-03-20 16:06:30 +01:00
orblazer
679253f591 Update JSDoc on Math 2018-03-19 13:06:46 +01:00
Richard Davey
4fe6a25117 Added jsdoc data types 2018-03-19 11:25:46 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
3ba739756c Added jsdocs. 2018-01-26 06:19:27 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Renamed from v3/src/math/Vector3.js (Browse further)