Пример #1
0
        public override void Parse(string line)
        {
            string[] parts = line.Split(' ');

            float x = parts[0].ParseInvariantFloat();
            float y = parts[1].ParseInvariantFloat();

            var texture = new TextureCoordinate(x, y);
            _textureDataStore.AddTexture(texture);
        }
Пример #2
0
 public void AddTexture(TextureCoordinate texture)
 {
     _textures.Add(texture);
 }