Sign in Join
FPDoc Onlineexperiment

negative(Tvector2_double):Tvector2_double operator

In unit matrix

Negate two-dimensional vector.

Declaration

pascal
operator -(const x: Tvector2_double): Tvector2_double

Description

This operation returns a vector in the opposite direction of the vector that is passed. In order to do so, all values in the vector are negated.

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