plus

operator fun plus(other: Vec3): Vec3(source)

Adds two vectors component-wise.

Return

The sum of the vectors.

Parameters

other

The vector to add.