Sign in Join
FPDoc Onlineexperiment

negative(Tvector2_single):Tvector2_single operator

In unit matrix

Negate two-dimensional vector.

Declaration

pascal
operator -(const x: Tvector2_single): Tvector2_single

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.