GeoGen Script reference

An invalid transformation matrix was passed to HeightMap.Transform.

The transformation matrix must be invertible. An invertible matrix always has non-zero determinant, which can be calculated using following formula:

determinant = a11 * a22 - a12 * a21

Non-invertible (singular) matrices usually have their rows/columns related in an unnatural way (for example two rows/columns are the same or a multiple of each other) or have a row/column composed exclusively from zeroes.

var map = HeightMap.Noise();
map.Transform(2, 1, 2, 1); // GGE2712