GeoGen Script reference

A maximum passed to a standard library function was less than a minimum.

This error applies to functions which take a minimum-maximum pair as their arguments. These include functions like Random, HeightMap.ClampHeights etc.

var map = HeightMap.RadialGradient(500, 500, 500, 1, 0);
map.ClampHeights(0.5, -0.5); // GGE2705, minimum is supposed to be first and maximum second