Sign in Join
FPDoc Onlineexperiment

subtract(Tvector3_double,Double):Tvector3_double operator

In unit matrix

Subtract scalar from three-dimensional double precision vector.

Declaration

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

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