public override void Parse(string line) { var parts = line.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries); var x = parts[0].ParseInvariantFloat(); var y = parts[1].ParseInvariantFloat(); var z = parts[2].ParseInvariantFloat(); var normal = new VertexNormal(x, y, z); _normalDataStore.AddNormal(normal); }
public void AddNormal(VertexNormal normal) { _normals.Add(normal); }