Commit graph

207 commits

Author SHA1 Message Date
Chris Andrew
0fdb7fcab6 Documented SinCosTableGenerator and a few more easing parameters. 2018-05-31 16:29:42 +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
05f55dc5ed Minor parameter renaming for SmoothStep interpolation functions. 2018-05-24 19:06:57 +01:00
Chris Andrew
2e0b50ee90 Simplified implementations of SmoothStepInterpolation and SmootherStepInterpolation. 2018-05-24 18:55:24 +01:00
Chris Andrew
2f3c35c5b5 Fixed SmoothStepInterpolation and SmootherStepInterpolation implementations.
Improved documentation consistency of SmoothStep, SmootherStep, SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:48:12 +01:00
Chris Andrew
f38a0683ff Updated SmoothStep and SmootherStep documentation. Fixed lint errors. 2018-05-24 18:11:18 +01:00
Chris Andrew
424b5d72cd Added SmootherStep interpolation function. 2018-05-24 18:02:53 +01:00
Richard Davey
603483ee69 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-24 17:30:31 +01:00
Richard Davey
bed3968ff7 Added SmoothStep interpolation function 2018-05-24 17:04:02 +01:00
Richard Davey
2684e7d988 Updated docs and added native clamping 2018-05-24 17:03:42 +01:00
Chris Andrew
e6d1df56cd Started documenting Matrix3 and Matrix4. 2018-05-24 16:41:59 +01:00
Chris Andrew
3a56fc32f7 Described all easing functions. 2018-05-24 15:44:49 +01:00
Chris Andrew
1aeb8327e7 Started documenting Math.Easing functions. 2018-05-24 13:33:47 +01:00
Chris Andrew
313ae38bb1 Improved Math.Angle function documentation. 2018-05-24 13:14:04 +01:00
Chris Andrew
1c94c3d4d6 Documented a few more Phaser.Math functions. 2018-05-24 12:59:27 +01:00
Chris Andrew
c9d82c9ebd Documented Math.Snap functions.
Adapted from Phaser CE documentation.
2018-05-24 12:15:37 +01:00
Chris Andrew
5e374b29dc Elaborated fuzzy math function descriptions.
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Chris Andrew
0f9bfc62f8 Documented Math.Distance, Math.Fuzzy and Math.Interpolation. 2018-05-24 11:40:53 +01:00
Chris Andrew
4726b8f2eb
Merge pull request #3696 from hexus/documentation
Phaser.Math Documentation
2018-05-23 18:49:29 +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
8c3a9ea42b Documented Math.Angle functions and Math.Wrap. 2018-05-23 17:42:54 +01:00
Richard Davey
182015bdbc
Merge pull request #3695 from wtravO/master
Fixed JSDoc error in RND.shuffle param
2018-05-23 15:30:42 +01:00
Travis O'Neal
87d1621bfc Fixed JSDoc error in shuffle param 2018-05-23 10:17:07 -04: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
Chris Andrew
dca9f11f0f Started documenting top-level Phaser.Math functions and classes. 2018-05-23 10:46:16 +01:00
Richard Davey
103e0c8727 Updated RandomDataGenerator.shuffle to remove several internal calls as min is always zero 2018-04-26 13:02:13 +01:00
Richard Davey
44314845f5
Merge pull request #3564 from wtravO/master
Added array shuffle method to RDG
2018-04-26 12:38:19 +01:00
Daniel
78d1c566ef Fix comment alignment 2018-04-25 20:25:29 +10:00
Daniel
9f8d87c23f Fill some description tags in Vector2.js. Fixed some descriptions.
Filled for:
setFromObject
constructor
2018-04-25 20:10:49 +10:00
Daniel
1f50bbd221 Filled many description tags for methods in Vector2.
These include:
reset,dot, normalize, lengthSq, length, distance, distanceSq, negate,
divide, multiply, add, subtract, scale, angle, equals, setTo, set, copy,
clone
2018-04-24 17:40:51 +10:00
Daniel
f347af853f Fix grammar in return statement description DegToRad.js 2018-04-24 16:29:51 +10:00
Daniel
529c35adda Update return statement description in RadToDeg 2018-04-24 16:27:19 +10:00
Daniel
516c8cb29d Update return statement description in DegToRad 2018-04-24 16:26:47 +10:00
Daniel
bad01055e1 Fill description tags in IsEven.js 2018-04-24 16:23:42 +10:00
Daniel
ce4702cbc2 Fill all description tags in RoundAwayFromZero.js 2018-04-24 16:23:26 +10:00
Daniel
bea966f646 Fill in remaining description tags for Within.js 2018-04-24 16:22:52 +10:00
Daniel
2fbb29f79a Fill all description tags in Rotate.js 2018-04-24 16:22:05 +10:00
Daniel
31ed7f7673 Fill all description tags in TadToDeg.js 2018-04-24 13:48:11 +10:00
Daniel
c119d570ee Fill all description tags in DegToRad.js 2018-04-24 13:47:55 +10:00
Daniel
96d1b691fa Add full stop to docs 2018-04-22 17:07:55 +10:00
Daniel
0e3c1064c9 Actually fill in the doc tags, instead of commiting the wrong thing 2018-04-22 17:04:11 +10:00
Daniel
0a422fce0c Add full stops at the end of doc sentences 2018-04-22 17:03:47 +10:00
Daniel
d67559debc Fill all description tags for Phaser.Math.Difference 2018-04-22 17:00:03 +10:00
Daniel
ea1d01b325 Fill all description tags for Phaser.Math.Factorial 2018-04-22 16:59:44 +10:00
Daniel
9701d68af2 Fill all description tags for Phaser.Math.FloatBetween 2018-04-22 16:59:25 +10:00
Daniel
d7c5d8951a Fill all description tags for Phaser.Math.Factorial 2018-04-22 16:53:35 +10:00
Richard Davey
c37c6365d3 The RandomDataGenerator class is now exposed under Phaser.Math should you wish to instantiate it yourself. Fix #3576 2018-04-16 16:07:52 +01:00
Richard Davey
18585de81d Lots of jsdoc fixes 2018-04-16 14:43:24 +01:00