Sign in Join
FPDoc Onlineexperiment

subtract(Tvector2_single,Tvector2_single):Tvector2_single operator

In unit matrix

Subtract two-dimensional single precision vectors from each other.

Declaration

pascal
operator -(const x: Tvector2_single; const y: Tvector2_single)
: Tvector2_single

Description

This operator allows you to subtract two two-dimensional vectors with single precision from each other. The result is a new vector which consists of the difference of the individual elements of the two vectors.

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