c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Arc
Field
Circle
Constraint
Circle
Field
Collision
Const
Force
constructor
force
apply
Constraint
Force
Gravitation
Interaction
Force
Line
Field
Particle
Point
Field
Polygon
Constraint
Rect
Constraint
Spring
World
Hierarchy
Force
ConstForce
Index
Constructors
constructor
Properties
force
Methods
apply
Constructors
constructor
new
Const
Force
(
v
:
Vector
)
:
ConstForce
new
Const
Force
(
x
:
number
, y
:
number
)
:
ConstForce
Parameters
v:
Vector
Returns
ConstForce
Parameters
x:
number
y:
number
Returns
ConstForce
Properties
force
force
:
Vector
Methods
apply
apply
(
p
:
Particle
)
:
void
Parameters
p:
Particle
Returns
void