[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

operator +(Tvector4_single, single): Tvector4_single

Add scalar to four-dimensional single precision vector

Declaration

Source position: matrix.pp line 413

operator operator +(Tvector4_single, single): Tvector4_single(

  const x: Tvector4_single;

  y: single

):Tvector4_single;

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.