Sign in Join
FPDoc Onlineexperiment

divide(Tvector2_single,single):Tvector2_single operator

In unit matrix

Divide a two-dimensional single precision vector by a scalar.

Declaration

pascal
operator /(const x: Tvector2_single; y: single): Tvector2_single

Description

This operator allows you to divide a vector by a scalar value. Each vector element is divided by the scalar value; the result is returned as a new vector.

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