melonjs 10.2.3 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/melonjs.js +1741 -1558
  2. package/dist/melonjs.min.js +4 -4
  3. package/dist/melonjs.module.d.ts +1256 -1758
  4. package/dist/melonjs.module.js +1734 -1582
  5. package/package.json +12 -12
  6. package/src/audio/audio.js +3 -3
  7. package/src/camera/camera2d.js +26 -27
  8. package/src/entity/draggable.js +10 -19
  9. package/src/entity/droptarget.js +12 -20
  10. package/src/entity/entity.js +13 -13
  11. package/src/game.js +6 -6
  12. package/src/{shapes → geometries}/ellipse.js +19 -20
  13. package/src/{shapes → geometries}/line.js +6 -7
  14. package/src/{shapes → geometries}/poly.js +70 -23
  15. package/src/{shapes → geometries}/rectangle.js +23 -24
  16. package/src/index.js +8 -9
  17. package/src/input/gamepad.js +7 -7
  18. package/src/input/input.js +2 -2
  19. package/src/input/keyboard.js +108 -108
  20. package/src/input/pointer.js +61 -28
  21. package/src/input/pointerevent.js +79 -16
  22. package/src/lang/deprecated.js +26 -15
  23. package/src/level/level.js +10 -10
  24. package/src/level/tiled/TMXGroup.js +6 -7
  25. package/src/level/tiled/TMXLayer.js +10 -11
  26. package/src/level/tiled/TMXObject.js +57 -51
  27. package/src/level/tiled/TMXTile.js +2 -3
  28. package/src/level/tiled/TMXTileMap.js +3 -4
  29. package/src/level/tiled/TMXTileset.js +1 -2
  30. package/src/level/tiled/TMXTilesetGroup.js +1 -2
  31. package/src/level/tiled/renderer/TMXHexagonalRenderer.js +2 -3
  32. package/src/level/tiled/renderer/TMXIsometricRenderer.js +2 -3
  33. package/src/level/tiled/renderer/TMXOrthogonalRenderer.js +2 -3
  34. package/src/level/tiled/renderer/TMXRenderer.js +1 -2
  35. package/src/level/tiled/renderer/TMXStaggeredRenderer.js +2 -3
  36. package/src/loader/loader.js +17 -15
  37. package/src/loader/loadingscreen.js +1 -2
  38. package/src/math/color.js +23 -24
  39. package/src/math/math.js +16 -16
  40. package/src/math/matrix2.js +24 -25
  41. package/src/math/matrix3.js +26 -27
  42. package/src/math/observable_vector2.js +46 -35
  43. package/src/math/observable_vector3.js +54 -36
  44. package/src/math/vector2.js +58 -47
  45. package/src/math/vector3.js +66 -48
  46. package/src/particles/emitter.js +64 -72
  47. package/src/particles/particle.js +3 -4
  48. package/src/particles/particlecontainer.js +2 -3
  49. package/src/physics/body.js +38 -39
  50. package/src/physics/bounds.js +30 -32
  51. package/src/physics/collision.js +6 -6
  52. package/src/physics/detector.js +3 -3
  53. package/src/physics/quadtree.js +8 -9
  54. package/src/physics/sat.js +4 -4
  55. package/src/physics/world.js +11 -12
  56. package/src/plugin/plugin.js +6 -7
  57. package/src/renderable/GUI.js +7 -8
  58. package/src/renderable/collectable.js +3 -4
  59. package/src/renderable/colorlayer.js +7 -8
  60. package/src/renderable/container.js +36 -37
  61. package/src/renderable/imagelayer.js +4 -5
  62. package/src/renderable/nineslicesprite.js +2 -3
  63. package/src/renderable/renderable.js +45 -46
  64. package/src/renderable/sprite.js +16 -17
  65. package/src/renderable/trigger.js +4 -5
  66. package/src/state/stage.js +8 -9
  67. package/src/state/state.js +24 -24
  68. package/src/system/device.js +41 -97
  69. package/src/system/event.js +45 -33
  70. package/src/system/pooling.js +1 -1
  71. package/src/system/save.js +3 -3
  72. package/src/system/timer.js +13 -13
  73. package/src/text/bitmaptext.js +12 -13
  74. package/src/text/bitmaptextdata.js +5 -6
  75. package/src/text/text.js +16 -17
  76. package/src/tweens/easing.js +1 -1
  77. package/src/tweens/interpolation.js +1 -1
  78. package/src/tweens/tween.js +14 -15
  79. package/src/utils/agent.js +3 -3
  80. package/src/utils/array.js +4 -4
  81. package/src/utils/file.js +3 -3
  82. package/src/utils/function.js +3 -3
  83. package/src/utils/string.js +7 -7
  84. package/src/utils/utils.js +4 -4
  85. package/src/video/canvas/canvas_renderer.js +39 -40
  86. package/src/video/renderer.js +29 -30
  87. package/src/video/texture.js +8 -9
  88. package/src/video/texture_cache.js +2 -4
  89. package/src/video/video.js +7 -7
  90. package/src/video/webgl/buffer/vertex.js +2 -2
  91. package/src/video/webgl/glshader.js +11 -12
  92. package/src/video/webgl/webgl_compositor.js +118 -90
  93. package/src/video/webgl/webgl_renderer.js +95 -74
package/src/math/color.js CHANGED
@@ -173,8 +173,7 @@ var cssToRGB = new Map();
173
173
  * @classdesc
174
174
  * A color manipulation object.
175
175
  * @class Color
176
- * @memberOf me
177
- * @constructor
176
+ * @memberof me
178
177
  * @param {number|Float32Array} [r=0] red component or array of color components
179
178
  * @param {number} [g=0] green component
180
179
  * @param {number} [b=0] blue component
@@ -206,7 +205,7 @@ class Color {
206
205
  * @type {number}
207
206
  * @name r
208
207
  * @readonly
209
- * @memberOf me.Color
208
+ * @memberof me.Color
210
209
  */
211
210
 
212
211
  get r() {
@@ -223,7 +222,7 @@ class Color {
223
222
  * @type {number}
224
223
  * @name g
225
224
  * @readonly
226
- * @memberOf me.Color
225
+ * @memberof me.Color
227
226
  */
228
227
 
229
228
  get g() {
@@ -240,7 +239,7 @@ class Color {
240
239
  * @type {number}
241
240
  * @name b
242
241
  * @readonly
243
- * @memberOf me.Color
242
+ * @memberof me.Color
244
243
  */
245
244
 
246
245
  get b() {
@@ -256,7 +255,7 @@ class Color {
256
255
  * @type {number}
257
256
  * @name alpha
258
257
  * @readonly
259
- * @memberOf me.Color
258
+ * @memberof me.Color
260
259
  */
261
260
 
262
261
  get alpha() {
@@ -271,7 +270,7 @@ class Color {
271
270
  /**
272
271
  * Set this color to the specified value.
273
272
  * @name setColor
274
- * @memberOf me.Color
273
+ * @memberof me.Color
275
274
  * @function
276
275
  * @param {number} r red component [0 .. 255]
277
276
  * @param {number} g green component [0 .. 255]
@@ -295,7 +294,7 @@ class Color {
295
294
  /**
296
295
  * Create a new copy of this color object.
297
296
  * @name clone
298
- * @memberOf me.Color
297
+ * @memberof me.Color
299
298
  * @function
300
299
  * @returns {me.Color} Reference to the newly cloned object
301
300
  */
@@ -306,7 +305,7 @@ class Color {
306
305
  /**
307
306
  * Copy a color object or CSS color into this one.
308
307
  * @name copy
309
- * @memberOf me.Color
308
+ * @memberof me.Color
310
309
  * @function
311
310
  * @param {me.Color|string} color
312
311
  * @returns {me.Color} Reference to this object for method chaining
@@ -323,7 +322,7 @@ class Color {
323
322
  /**
324
323
  * Blend this color with the given one using addition.
325
324
  * @name add
326
- * @memberOf me.Color
325
+ * @memberof me.Color
327
326
  * @function
328
327
  * @param {me.Color} color
329
328
  * @returns {me.Color} Reference to this object for method chaining
@@ -340,7 +339,7 @@ class Color {
340
339
  /**
341
340
  * Darken this color value by 0..1
342
341
  * @name darken
343
- * @memberOf me.Color
342
+ * @memberof me.Color
344
343
  * @function
345
344
  * @param {number} scale
346
345
  * @returns {me.Color} Reference to this object for method chaining
@@ -357,7 +356,7 @@ class Color {
357
356
  /**
358
357
  * Linearly interpolate between this color and the given one.
359
358
  * @name lerp
360
- * @memberOf me.Color
359
+ * @memberof me.Color
361
360
  * @function
362
361
  * @param {me.Color} color
363
362
  * @param {number} alpha with alpha = 0 being this color, and alpha = 1 being the given one.
@@ -375,7 +374,7 @@ class Color {
375
374
  /**
376
375
  * Lighten this color value by 0..1
377
376
  * @name lighten
378
- * @memberOf me.Color
377
+ * @memberof me.Color
379
378
  * @function
380
379
  * @param {number} scale
381
380
  * @returns {me.Color} Reference to this object for method chaining
@@ -392,7 +391,7 @@ class Color {
392
391
  /**
393
392
  * Generate random r,g,b values for this color object
394
393
  * @name random
395
- * @memberOf me.Color
394
+ * @memberof me.Color
396
395
  * @function
397
396
  * @param {number} [min=0] minimum value for the random range
398
397
  * @param {number} [max=255] maxmium value for the random range
@@ -418,7 +417,7 @@ class Color {
418
417
  * Return true if the r,g,b,a values of this color are equal with the
419
418
  * given one.
420
419
  * @name equals
421
- * @memberOf me.Color
420
+ * @memberof me.Color
422
421
  * @function
423
422
  * @param {me.Color} color
424
423
  * @returns {boolean}
@@ -436,7 +435,7 @@ class Color {
436
435
  * Parse a CSS color string and set this color to the corresponding
437
436
  * r,g,b values
438
437
  * @name parseCSS
439
- * @memberOf me.Color
438
+ * @memberof me.Color
440
439
  * @function
441
440
  * @param {string} cssColor
442
441
  * @returns {me.Color} Reference to this object for method chaining
@@ -454,7 +453,7 @@ class Color {
454
453
  /**
455
454
  * Parse an RGB or RGBA CSS color string
456
455
  * @name parseRGB
457
- * @memberOf me.Color
456
+ * @memberof me.Color
458
457
  * @function
459
458
  * @param {string} rgbColor
460
459
  * @returns {me.Color} Reference to this object for method chaining
@@ -474,7 +473,7 @@ class Color {
474
473
  * Parse a Hex color ("#RGB", "#RGBA" or "#RRGGBB", "#RRGGBBAA" format) and set this color to
475
474
  * the corresponding r,g,b,a values
476
475
  * @name parseHex
477
- * @memberOf me.Color
476
+ * @memberof me.Color
478
477
  * @function
479
478
  * @param {string} hexColor
480
479
  * @param {boolean} [argb = false] true if format is #ARGB, or #AARRGGBB (as opposed to #RGBA or #RGGBBAA)
@@ -534,7 +533,7 @@ class Color {
534
533
  /**
535
534
  * Pack this color into a Uint32 ARGB representation
536
535
  * @name toUint32
537
- * @memberOf me.Color
536
+ * @memberof me.Color
538
537
  * @function
539
538
  * @param {number} [alpha=1.0] alpha value [0.0 .. 1.0]
540
539
  * @returns {Uint32}
@@ -551,7 +550,7 @@ class Color {
551
550
  /**
552
551
  * return an array representation of this object
553
552
  * @name toArray
554
- * @memberOf me.Color
553
+ * @memberof me.Color
555
554
  * @function
556
555
  * @returns {Float32Array}
557
556
  */
@@ -563,7 +562,7 @@ class Color {
563
562
  /**
564
563
  * Get the color in "#RRGGBB" format
565
564
  * @name toHex
566
- * @memberOf me.Color
565
+ * @memberof me.Color
567
566
  * @function
568
567
  * @returns {string}
569
568
  */
@@ -577,7 +576,7 @@ class Color {
577
576
  /**
578
577
  * Get the color in "#RRGGBBAA" format
579
578
  * @name toHex8
580
- * @memberOf me.Color
579
+ * @memberof me.Color
581
580
  * @function
582
581
  * @returns {string}
583
582
  */
@@ -591,7 +590,7 @@ class Color {
591
590
  /**
592
591
  * Get the color in "rgb(R,G,B)" format
593
592
  * @name toRGB
594
- * @memberOf me.Color
593
+ * @memberof me.Color
595
594
  * @function
596
595
  * @returns {string}
597
596
  */
@@ -609,7 +608,7 @@ class Color {
609
608
  /**
610
609
  * Get the color in "rgba(R,G,B,A)" format
611
610
  * @name toRGBA
612
- * @memberOf me.Color
611
+ * @memberof me.Color
613
612
  * @function
614
613
  * @returns {string}
615
614
  */
package/src/math/math.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * a collection of math utility functions
3
3
  * @namespace Math
4
- * @memberOf me
4
+ * @memberof me
5
5
  */
6
6
 
7
7
  /**
@@ -9,7 +9,7 @@
9
9
  * @public
10
10
  * @type {number}
11
11
  * @name DEG_TO_RAD
12
- * @memberOf me.Math
12
+ * @memberof me.Math
13
13
  */
14
14
  export const DEG_TO_RAD = Math.PI / 180.0;
15
15
 
@@ -18,7 +18,7 @@ export const DEG_TO_RAD = Math.PI / 180.0;
18
18
  * @public
19
19
  * @type {number}
20
20
  * @name RAD_TO_DEG
21
- * @memberOf me.Math
21
+ * @memberof me.Math
22
22
  */
23
23
  export const RAD_TO_DEG = 180.0 / Math.PI;
24
24
 
@@ -27,7 +27,7 @@ export const RAD_TO_DEG = 180.0 / Math.PI;
27
27
  * @public
28
28
  * @type {number}
29
29
  * @name TAU
30
- * @memberOf me.Math
30
+ * @memberof me.Math
31
31
  */
32
32
  export const TAU = Math.PI * 2;
33
33
 
@@ -36,7 +36,7 @@ export const TAU = Math.PI * 2;
36
36
  * @public
37
37
  * @type {number}
38
38
  * @name ETA
39
- * @memberOf me.Math
39
+ * @memberof me.Math
40
40
  */
41
41
  export const ETA = Math.PI * 0.5;
42
42
 
@@ -45,7 +45,7 @@ export const ETA = Math.PI * 0.5;
45
45
  * @public
46
46
  * @type {number}
47
47
  * @name EPSILON
48
- * @memberOf me.Math
48
+ * @memberof me.Math
49
49
  */
50
50
  export const EPSILON = 0.000001;
51
51
 
@@ -53,7 +53,7 @@ export const EPSILON = 0.000001;
53
53
  * returns true if the given value is a power of two
54
54
  * @public
55
55
  * @function
56
- * @memberOf me.Math
56
+ * @memberof me.Math
57
57
  * @name isPowerOfTwo
58
58
  * @param {number} val
59
59
  * @returns {boolean}
@@ -66,7 +66,7 @@ export function isPowerOfTwo(val) {
66
66
  * returns the next power of two for the given value
67
67
  * @public
68
68
  * @function
69
- * @memberOf me.Math
69
+ * @memberof me.Math
70
70
  * @name nextPowerOfTwo
71
71
  * @param {number} val
72
72
  * @returns {boolean}
@@ -86,7 +86,7 @@ export function nextPowerOfTwo(val) {
86
86
  * Converts an angle in degrees to an angle in radians
87
87
  * @public
88
88
  * @function
89
- * @memberOf me.Math
89
+ * @memberof me.Math
90
90
  * @name degToRad
91
91
  * @param {number} angle angle in degrees
92
92
  * @returns {number} corresponding angle in radians
@@ -102,7 +102,7 @@ export function degToRad(angle) {
102
102
  * Converts an angle in radians to an angle in degrees.
103
103
  * @public
104
104
  * @function
105
- * @memberOf me.Math
105
+ * @memberof me.Math
106
106
  * @name radToDeg
107
107
  * @param {number} radians angle in radians
108
108
  * @returns {number} corresponding angle in degrees
@@ -118,7 +118,7 @@ export function radToDeg(radians) {
118
118
  * clamp the given value
119
119
  * @public
120
120
  * @function
121
- * @memberOf me.Math
121
+ * @memberof me.Math
122
122
  * @name clamp
123
123
  * @param {number} val the value to clamp
124
124
  * @param {number} low lower limit
@@ -133,7 +133,7 @@ export function clamp(val, low, high) {
133
133
  * return a random integer between min (included) and max (excluded)
134
134
  * @public
135
135
  * @function
136
- * @memberOf me.Math
136
+ * @memberof me.Math
137
137
  * @name random
138
138
  * @param {number} min minimum value.
139
139
  * @param {number} max maximum value.
@@ -150,7 +150,7 @@ export function random(min, max) {
150
150
  * return a random float between min, max (exclusive)
151
151
  * @public
152
152
  * @function
153
- * @memberOf me.Math
153
+ * @memberof me.Math
154
154
  * @name randomFloat
155
155
  * @param {number} min minimum value.
156
156
  * @param {number} max maximum value.
@@ -167,7 +167,7 @@ export function randomFloat(min, max) {
167
167
  * return a weighted random between min, max (exclusive)
168
168
  * @public
169
169
  * @function
170
- * @memberOf me.Math
170
+ * @memberof me.Math
171
171
  * @name weightedRandom
172
172
  * @param {number} min minimum value.
173
173
  * @param {number} max maximum value.
@@ -184,7 +184,7 @@ export function weightedRandom(min, max) {
184
184
  * round a value to the specified number of digit
185
185
  * @public
186
186
  * @function
187
- * @memberOf me.Math
187
+ * @memberof me.Math
188
188
  * @name round
189
189
  * @param {number} num value to be rounded.
190
190
  * @param {number} [dec=0] number of decimal digit to be rounded to.
@@ -203,7 +203,7 @@ export function round(num, dec = 0) {
203
203
  * check if the given value is close to the expected one
204
204
  * @public
205
205
  * @function
206
- * @memberOf me.Math
206
+ * @memberof me.Math
207
207
  * @name toBeCloseTo
208
208
  * @param {number} expected value to be compared with.
209
209
  * @param {number} actual actual value to compare
@@ -7,8 +7,7 @@ import Matrix3d from "./matrix3.js";
7
7
  * the identity matrix and parameters position : <br>
8
8
  * <img src="images/identity-matrix_2x.png"/>
9
9
  * @class Matrix2d
10
- * @memberOf me
11
- * @constructor
10
+ * @memberof me
12
11
  * @param {me.Matrix2d} [mat2d] An instance of me.Matrix2d to copy from
13
12
  * @param {number[]} [arguments...] Matrix elements. See {@link me.Matrix2d.setTransform}
14
13
  */
@@ -49,7 +48,7 @@ class Matrix2d {
49
48
  * @readonly
50
49
  * @see me.Matrix2d.translate
51
50
  * @name tx
52
- * @memberOf me.Matrix2d
51
+ * @memberof me.Matrix2d
53
52
  */
54
53
  get tx() {
55
54
  return this.val[6];
@@ -62,7 +61,7 @@ class Matrix2d {
62
61
  * @readonly
63
62
  * @see me.Matrix2d.translate
64
63
  * @name ty
65
- * @memberOf me.Matrix2d
64
+ * @memberof me.Matrix2d
66
65
  */
67
66
  get ty() {
68
67
  return this.val[7];
@@ -73,7 +72,7 @@ class Matrix2d {
73
72
  * the identity matrix and parameters position : <br>
74
73
  * <img src="images/identity-matrix_2x.png"/>
75
74
  * @name identity
76
- * @memberOf me.Matrix2d
75
+ * @memberof me.Matrix2d
77
76
  * @function
78
77
  * @returns {me.Matrix2d} Reference to this object for method chaining
79
78
  */
@@ -89,7 +88,7 @@ class Matrix2d {
89
88
  /**
90
89
  * set the matrix to the specified value
91
90
  * @name setTransform
92
- * @memberOf me.Matrix2d
91
+ * @memberof me.Matrix2d
93
92
  * @function
94
93
  * @param {number} a
95
94
  * @param {number} b
@@ -133,7 +132,7 @@ class Matrix2d {
133
132
  /**
134
133
  * Copies over the values from another me.Matrix2d.
135
134
  * @name copy
136
- * @memberOf me.Matrix2d
135
+ * @memberof me.Matrix2d
137
136
  * @function
138
137
  * @param {me.Matrix2d} m the matrix object to copy from
139
138
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -146,7 +145,7 @@ class Matrix2d {
146
145
  /**
147
146
  * Copies over the upper-left 3x3 values from the given me.Matrix3d
148
147
  * @name fromMat3d
149
- * @memberOf me.Matrix2d
148
+ * @memberof me.Matrix2d
150
149
  * @function
151
150
  * @param {me.Matrix3d} m the matrix object to copy from
152
151
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -171,7 +170,7 @@ class Matrix2d {
171
170
  /**
172
171
  * multiply both matrix
173
172
  * @name multiply
174
- * @memberOf me.Matrix2d
173
+ * @memberof me.Matrix2d
175
174
  * @function
176
175
  * @param {me.Matrix2d} m the other matrix
177
176
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -203,7 +202,7 @@ class Matrix2d {
203
202
  /**
204
203
  * Transpose the value of this matrix.
205
204
  * @name transpose
206
- * @memberOf me.Matrix2d
205
+ * @memberof me.Matrix2d
207
206
  * @function
208
207
  * @returns {me.Matrix2d} Reference to this object for method chaining
209
208
  */
@@ -226,7 +225,7 @@ class Matrix2d {
226
225
  /**
227
226
  * invert this matrix, causing it to apply the opposite transformation.
228
227
  * @name invert
229
- * @memberOf me.Matrix2d
228
+ * @memberof me.Matrix2d
230
229
  * @function
231
230
  * @returns {me.Matrix2d} Reference to this object for method chaining
232
231
  */
@@ -261,7 +260,7 @@ class Matrix2d {
261
260
  /**
262
261
  * apply the current transform to the given 2d vector
263
262
  * @name apply
264
- * @memberOf me.Matrix2d
263
+ * @memberof me.Matrix2d
265
264
  * @function
266
265
  * @param {me.Vector2d} v the vector object to be transformed
267
266
  * @returns {me.Vector2d} result vector object.
@@ -280,7 +279,7 @@ class Matrix2d {
280
279
  /**
281
280
  * apply the inverted current transform to the given 2d vector
282
281
  * @name applyInverse
283
- * @memberOf me.Matrix2d
282
+ * @memberof me.Matrix2d
284
283
  * @function
285
284
  * @param {me.Vector2d} v the vector object to be transformed
286
285
  * @returns {me.Vector2d} result vector object.
@@ -301,7 +300,7 @@ class Matrix2d {
301
300
  /**
302
301
  * scale the matrix
303
302
  * @name scale
304
- * @memberOf me.Matrix2d
303
+ * @memberof me.Matrix2d
305
304
  * @function
306
305
  * @param {number} x a number representing the abscissa of the scaling vector.
307
306
  * @param {number} [y=x] a number representing the ordinate of the scaling vector.
@@ -323,7 +322,7 @@ class Matrix2d {
323
322
  /**
324
323
  * adds a 2D scaling transformation.
325
324
  * @name scaleV
326
- * @memberOf me.Matrix2d
325
+ * @memberof me.Matrix2d
327
326
  * @function
328
327
  * @param {me.Vector2d} v scaling vector
329
328
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -335,7 +334,7 @@ class Matrix2d {
335
334
  /**
336
335
  * specifies a 2D scale operation using the [sx, 1] scaling vector
337
336
  * @name scaleX
338
- * @memberOf me.Matrix2d
337
+ * @memberof me.Matrix2d
339
338
  * @function
340
339
  * @param {number} x x scaling vector
341
340
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -347,7 +346,7 @@ class Matrix2d {
347
346
  /**
348
347
  * specifies a 2D scale operation using the [1,sy] scaling vector
349
348
  * @name scaleY
350
- * @memberOf me.Matrix2d
349
+ * @memberof me.Matrix2d
351
350
  * @function
352
351
  * @param {number} y y scaling vector
353
352
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -359,7 +358,7 @@ class Matrix2d {
359
358
  /**
360
359
  * rotate the matrix (counter-clockwise) by the specified angle (in radians).
361
360
  * @name rotate
362
- * @memberOf me.Matrix2d
361
+ * @memberof me.Matrix2d
363
362
  * @function
364
363
  * @param {number} angle Rotation angle in radians.
365
364
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -390,7 +389,7 @@ class Matrix2d {
390
389
  /**
391
390
  * translate the matrix position on the horizontal and vertical axis
392
391
  * @name translate
393
- * @memberOf me.Matrix2d
392
+ * @memberof me.Matrix2d
394
393
  * @function
395
394
  * @param {number} x the x coordindates to translate the matrix by
396
395
  * @param {number} y the y coordindates to translate the matrix by
@@ -399,7 +398,7 @@ class Matrix2d {
399
398
  /**
400
399
  * translate the matrix by a vector on the horizontal and vertical axis
401
400
  * @name translateV
402
- * @memberOf me.Matrix2d
401
+ * @memberof me.Matrix2d
403
402
  * @function
404
403
  * @param {me.Vector2d} v the vector to translate the matrix by
405
404
  * @returns {me.Matrix2d} Reference to this object for method chaining
@@ -427,7 +426,7 @@ class Matrix2d {
427
426
  /**
428
427
  * returns true if the matrix is an identity matrix.
429
428
  * @name isIdentity
430
- * @memberOf me.Matrix2d
429
+ * @memberof me.Matrix2d
431
430
  * @function
432
431
  * @returns {boolean}
433
432
  */
@@ -450,7 +449,7 @@ class Matrix2d {
450
449
  /**
451
450
  * return true if the two matrices are identical
452
451
  * @name equals
453
- * @memberOf me.Matrix2d
452
+ * @memberof me.Matrix2d
454
453
  * @function
455
454
  * @param {me.Matrix2d} m the other matrix
456
455
  * @returns {boolean} true if both are equals
@@ -475,7 +474,7 @@ class Matrix2d {
475
474
  /**
476
475
  * Clone the Matrix
477
476
  * @name clone
478
- * @memberOf me.Matrix2d
477
+ * @memberof me.Matrix2d
479
478
  * @function
480
479
  * @returns {me.Matrix2d}
481
480
  */
@@ -486,7 +485,7 @@ class Matrix2d {
486
485
  /**
487
486
  * return an array representation of this Matrix
488
487
  * @name toArray
489
- * @memberOf me.Matrix2d
488
+ * @memberof me.Matrix2d
490
489
  * @function
491
490
  * @returns {Float32Array}
492
491
  */
@@ -497,7 +496,7 @@ class Matrix2d {
497
496
  /**
498
497
  * convert the object to a string representation
499
498
  * @name toString
500
- * @memberOf me.Matrix2d
499
+ * @memberof me.Matrix2d
501
500
  * @function
502
501
  * @returns {string}
503
502
  */