Sign in Join
FPDoc Onlineexperiment

add(Tvector4_single,single):Tvector4_single operator

In unit matrix

Add scalar to four-dimensional single precision vector.

Declaration

pascal
operator +(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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.