pub fn from_source(
file: &str,
source: &str,
default: &str,
) -> Result<Lighting, Vec<ContentError>>Expand description
Parses lights’ file source, attributing errors to file. Every
number must be from 0 to 1, and there must be a light called default:
the light of a map that names none. Reports every problem found.