SCI.js
Preparing search index...
@4bitlabs/vec2
sub
Function sub
sub
(
a
:
Vec2
,
b
:
Vec2
,
out
?:
MutableVec2
)
:
MutableVec2
Subtract vector second from the first vector
(a - b)
, and put 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...
Subtract vector second from the first vector
(a - b)
, and put the result in out.