Tesla Graphics Engine Documentation (January 2012)
Add Method (a, b)
Tesla
►
Tesla.Math
►
Vector2
►
Add(Vector2, Vector2)
C#
Adds two vectors.
Declaration Syntax
C#
public
static
Vector2
Add
(
Vector2
a
,
Vector2
b
)
Parameters
a
(
Vector2
)
First vector
b
(
Vector2
)
Second vector
Return Value
Resulting vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)