Preparing search index...
The search index is not available
SCI.js
SCI.js
@4bitlabs/vec2
add
Function add
Adds vector A to vector B
(a + b)
, and puts the result in out.
add
(
a
,
b
,
out
?
)
:
MutableVec2
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.