Search
Preparing search index...
The search index is not available
sfml.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sfml.js
Vector2F
Class Vector2F
Hierarchy
Vector2F
Index
Constructors
constructor
Properties
x
y
Methods
add
div
equals
multiply
not
Eequals
subtract
Constructors
constructor
new
Vector2F
(
x
:
number
, y
:
number
)
:
Vector2F
new
Vector2F
(
vec
:
Vector2F
)
:
Vector2F
Parameters
x:
number
y:
number
Returns
Vector2F
Parameters
vec:
Vector2F
Returns
Vector2F
Properties
x
x
:
number
y
y
:
number
Methods
Static
add
add
(
a
:
Vector2F
, b
:
Vector2F
)
:
Vector2F
Parameters
a:
Vector2F
b:
Vector2F
Returns
Vector2F
Static
div
div
(
a
:
Vector2F
, b
:
number
)
:
Vector2F
Parameters
a:
Vector2F
b:
number
Returns
Vector2F
Static
equals
equals
(
a
:
Vector2F
, b
:
Vector2F
)
:
boolean
Parameters
a:
Vector2F
b:
Vector2F
Returns
boolean
Static
multiply
multiply
(
a
:
Vector2F
, b
:
number
)
:
Vector2F
Parameters
a:
Vector2F
b:
number
Returns
Vector2F
Static
not
Eequals
not
Eequals
(
a
:
Vector2F
, b
:
Vector2F
)
:
boolean
Parameters
a:
Vector2F
b:
Vector2F
Returns
boolean
Static
subtract
subtract
(
a
:
Vector2F
, b
:
Vector2F
)
:
Vector2F
Parameters
a:
Vector2F
b:
Vector2F
Returns
Vector2F
Exports
Vector2F
constructor
x
y
add
div
equals
multiply
not
Eequals
subtract
Generated using
TypeDoc