function getGlslNumberAsFloat(number) {
  let numberString = number.toString();
  if (numberString.indexOf(".") === -1) {
    numberString = `${number}.0`;
  }
  return numberString;
}
GLSL needs to have `.0` at the end of whole number floats or else it's
treated like an integer.

@function

@param {number} number The number to convert.
@returns {string} The number as floating point in GLSL.

@private