refreshUniformsDistance method
Implementation
void refreshUniformsDistance(Map<String, dynamic> uniforms, MeshDistanceMaterial material) {
uniforms["referencePosition"]["value"].setFrom(material.referencePosition);
uniforms["nearDistance"]["value"] = material.nearDistance;
uniforms["farDistance"]["value"] = material.farDistance;
}