Unit 'matrix' Package
[Overview][Types][Classes][Procedures and functions][Index] [#rtl]

subtract(Tvector4_single,single):Tvector4_single

Subtract scalar from four-dimensional single precision vector.

Declaration

Source position: matrix.pp line 424

operator operator -(

  const x: Tvector4_single;

  y: single

):Tvector4_single;

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.


Documentation generated on: Jul 24 2023