Sign in Join
FPDoc Onlineexperiment

add(Tmatrix4_single,single):Tmatrix4_single operator

In unit matrix

Add scalar to four-dimensional single precision matrix.

Declaration

pascal
operator +(const m: Tmatrix4_single; const x: single): Tmatrix4_single

Description

This operator allows you to add a scalar value to a matrix. The scalar is added to all elements of the matrix, the result is returned as a new vector.

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