static List<double> v3Normalize(List<double> vector, double norm) { var im = 1 / (_isZero(norm) ? v3Length(vector) : norm); return [vector[0] * im, vector[1] * im, vector[2] * im]; }