Skip to content

Documentation / @ripl/3d / vec2Add

Function: vec2Add() ​

vec2Add(a, b): Vector2

Defined in: 3d/src/math/vector2.ts:10

Returns the component-wise sum of two vectors.

Parameters ​

ParameterType
aVector2
bVector2

Returns ​

Vector2