zero function

List<double> zero(
  1. List<double> out
)

Set the components of a vec4 to zero

@param {vec4} out the receiving vector @returns {vec4} out

Implementation

List<double> zero(List<double> out) {
  out[0] = 0.0;
  out[1] = 0.0;
  out[2] = 0.0;
  out[3] = 0.0;
  return out;
}