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

operator -(Tvector3_double, double): Tvector3_double

Subtract scalar from three-dimensional double precision vector

Declaration

Source position: matrix.pp line 421

operator operator -(Tvector3_double, double): Tvector3_double(

  const x: Tvector3_double;

  y: double

):Tvector3_double;

Description

This operator allows you to subtract a scalar value from a vector. The scalar is subtracted from 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.