SCI.js
Preparing search index...
@4bitlabs/vec2
add
Function add
add
(
a
:
Vec2
,
b
:
Vec2
,
out
?:
MutableVec2
)
:
MutableVec2
Adds vector A to vector B
(a + b)
, and puts the result in out.
Parameters
a
:
Vec2
b
:
Vec2
out
:
MutableVec2
= ...
Returns
MutableVec2
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SCI.js
Loading...
Adds vector A to vector B
(a + b)
, and puts the result in out.