You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/physics/matter-js/index.js
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ module.exports = {
22
22
};
23
23
24
24
/**
25
-
* @module Matter
25
+
* @namespace MatterJS
26
26
*/
27
27
28
28
/**
@@ -31,7 +31,7 @@ module.exports = {
31
31
* A `Matter.Body` is a rigid body that can be simulated by a `Matter.Engine`.
32
32
* Factories for commonly used body configurations (such as rectangles, circles and other polygons) can be found in the module `Matter.Bodies`.
33
33
*
34
-
* @classMatter.Body
34
+
* @classMatterJS.Body
35
35
*/
36
36
37
37
/**
@@ -41,7 +41,7 @@ module.exports = {
41
41
* It is important to use the functions in this module to modify composites, rather than directly modifying their properties.
42
42
* Note that the `Matter.World` object is also a type of `Matter.Composite` and as such all composite methods here can also operate on a `Matter.World`.
43
43
*
44
-
* @classMatter.Composite
44
+
* @classMatterJS.Composite
45
45
*/
46
46
47
47
/**
@@ -52,8 +52,8 @@ module.exports = {
52
52
* It is important to use the functions in the `Matter.Composite` module to modify the world composite, rather than directly modifying its properties.
53
53
* There are also a few methods here that alias those in `Matter.Composite` for easier readability.
54
54
*
55
-
* @classMatter.World
56
-
* @extendsMatter.Composite
55
+
* @classMatterJS.World
56
+
* @extendsMatterJS.Composite
57
57
*/
58
58
59
59
/**
@@ -62,13 +62,13 @@ module.exports = {
62
62
* Constraints are used for specifying that a fixed distance must be maintained between two bodies (or a body and a fixed world-space position).
63
63
* The stiffness of constraints can be modified to create springs or elastic.
64
64
*
65
-
* @classMatter.Constraint
65
+
* @classMatterJS.Constraint
66
66
*/
67
67
68
68
/**
69
69
* @classdesc
70
70
* The `Matter.Engine` module contains methods for creating and manipulating engines.
71
71
* An engine is a controller that manages updating the simulation of the world.
0 commit comments