Skip to content

subtract(Tmatrix4_single,single):Tmatrix4_single

Add scalar to four-dimensional single precision matrix

Declaration

Source position: matrix.pp line 599

  operator -(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.