[Overview][Types][Classes][Procedures and functions] Reference for unit 'matrix' (#rtl)

operator -(Tvector2_extended): Tvector2_extended

Negate two-dimensional vector.

Declaration

Source position: matrix.pp line 373

function operator -(Tvector2_extended): Tvector2_extended(

  const x: Tvector2_extended

):Tvector2_extended;

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.