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
Travis O'Neal
620585a57c
Added array shuffle method
2018-04-13 14:23:48 -04:00
Richard Davey
34b236df41
Vector2.setTo is a method alias for Vector2.set allowing it to be used inter-changeably with Geom.Point.
2018-04-05 11:24:56 +01:00
Evan Cobb
6d7b28db04
Fleshing out docs
2018-04-02 11:03:23 -05:00
Evan Cobb
7153548c36
Update LinearInterpolation.js
2018-04-02 10:54:46 -05:00
orblazer
ed1f2a7011
Fix wrong types
2018-03-22 13:51:30 +01:00
orblazer
11845f9d6d
Fix "object" types on Physics and Math
2018-03-21 14:15:25 +01:00
orblazer
c5d4c0a9d2
Fix Vector2 types
2018-03-20 23:51:54 +01:00
orblazer
7fba122321
Fix "any" types
2018-03-20 17:15:49 +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
samme
9234fd1d4f
Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
...
Fixes #3323
2018-03-04 22:09:29 -08:00
Richard Davey
ae1c91cf6a
eslint fixes
2018-03-05 01:40:11 +00:00
Richard Davey
375db253f2
Quadratic Curve updates
...
* Quadratic Bezier Interpolation has been added to the Math.Interpolation functions
* A new Quadratic Bezier Curve class has been added, expanding the available Curve types
* Path.quadraticBezierTo allows you to add a Quadratic Bezier Curve into your Path.
2018-03-05 01:15:18 +00:00
Richard Davey
af8f8739ba
Merge pull request #3307 from RiCoTeRoX/curves-quadratic
...
Add quadraticBezier to API
2018-03-05 00:20:43 +00:00
danny
af3e47ce4b
Fix on P0 vector
2018-03-02 20:16:11 -03:00
danny
db6039bf4f
Add quadraticBezier to API
2018-03-02 17:42:12 -03:00
migiyubi
2f239de66a
Correct JSDoc
2018-03-02 19:35:01 +09:00
migiyubi
fc1181970b
Fix RandomDataGenerator's randomness
2018-03-01 19:57:16 +09:00
Richard Davey
26f0578261
jsdoc fixes
2018-02-22 01:07:30 +00:00
Richard Davey
3c65121cb3
eslint fixes
2018-02-16 19:17:49 +00:00
Richard Davey
d23688c3e4
Added eslint fixes and overrides
2018-02-16 18:44:07 +00:00
Richard Davey
4a3f4293d4
Fuzzy.Floor had an incorrect method signature.
2018-02-16 18:43:52 +00:00