addScaledSH method
Implementation
SphericalHarmonics3 addScaledSH(SphericalHarmonics3 sh, num s) {
for (var i = 0; i < 9; i++) {
coefficients[i].addScaledVector(sh.coefficients[i], s);
}
return this;
}
SphericalHarmonics3 addScaledSH(SphericalHarmonics3 sh, num s) {
for (var i = 0; i < 9; i++) {
coefficients[i].addScaledVector(sh.coefficients[i], s);
}
return this;
}