Vector2D
Ce contenu n’est pas encore disponible dans votre langue.
Functions
add()
Adds two vector2D together.
Parameters
• a: Vector2D
• b: Vector2D
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:18
angle()
Parameters
• a: Vector2D
• b: Vector2D
Returns
number
Defined in
tmp/commons/src/lib/datastructure.ts:52
cross()
Parameters
• a: Vector2D
• b: Vector2D
Returns
number
Defined in
tmp/commons/src/lib/datastructure.ts:50
distance()
Parameters
• a: Vector2D
• b: Vector2D
Returns
number
Defined in
tmp/commons/src/lib/datastructure.ts:46
divide()
Parameters
• a: Vector2D
• b: number
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:30
dot()
Parameters
• a: Vector2D
• b: Vector2D
Returns
number
Defined in
tmp/commons/src/lib/datastructure.ts:48
length()
Parameters
• a: Vector2D
Returns
number
Defined in
tmp/commons/src/lib/datastructure.ts:42
multiply()
Parameters
• a: Vector2D
• b: number
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:24
normalize()
Parameters
• a: Vector2D
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:44
rotate()
Parameters
• a: Vector2D
• angle: number
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:54
subtract()
Parameters
• a: Vector2D
• b: Vector2D
Returns
Defined in
tmp/commons/src/lib/datastructure.ts:36