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

operator -(Tmatrix4_single, single): Tmatrix4_single

Add scalar to four-dimensional single precision matrix

Declaration

Source position: matrix.pp line 598

operator operator -(Tmatrix4_single, single): Tmatrix4_single(

  const m: Tmatrix4_single;

  const x: single

):Tmatrix4_single;

Description

This operator allows you to subtract a scalar value from a matrix. The scalar is subtracted from all elements of the matrix, the result is returned as a new matrix.

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