budnhead/org.budnhead/graphics/GLModel.cs

30 lines
514 B
C#
Raw Normal View History

2017-05-01 01:33:33 +02:00
using System;
using System.IO;
2017-05-09 23:41:50 +02:00
using org.budnhead.graphics;
2017-05-01 01:33:33 +02:00
2017-05-09 23:41:50 +02:00
namespace org.budnhead.graphics
2017-05-01 01:33:33 +02:00
{
public class GLModel : GLObject
{
private static char[] whitespace = { };
public GLModel(String filename)
{
FileStream fs = new FileStream(filename,FileMode.Open);
load(fs);
fs.Close();
}
private void load(Stream stream){
StreamReader sr = new StreamReader(stream);
string line;
while ( (line = sr.ReadLine()) != null){
String[] tokens = line.Split(null);
}
}
}
}