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

operator :=(Tvector2_double): Tvector2_single

Allow assignment of double precision vector to single precision vector

Declaration

Source position: matrix.pp line 272

operator operator :=(Tvector2_double): Tvector2_single(

  const v: Tvector2_double

):Tvector2_single;

Description

This operator allows you to use a vector with double precision values wherever a single precision vector is expected, at the cost of loosing some precision.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.