Skip to content

add(Tvector2_extended,extended):Tvector2_extended

Add scalar to two-dimensional extended precision vector.

Declaration

Source position: matrix.pp line 413

operator +(const x: Tvector2_extended; y: extended) : Tvector2_extended;

Description

This operator allows you to add a scalar value to a vector. The scalar is added to all elements of the vector, the result is returned as a new vector.