zero function

List<double> zero(
  1. dynamic out
)

Set the components of a vec3 to zero

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

Implementation

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