normalize method Null safety
Implementation
void normalize() {
final inverseLength = 1.0 / normal.length;
_normal.scale(inverseLength);
constant *= inverseLength;
}
void normalize() {
final inverseLength = 1.0 / normal.length;
_normal.scale(inverseLength);
constant *= inverseLength;
}