DrawableInformation createInformation(Vector3 normal, Vector2 texcoord, Vector3 vertex) { DrawableInformation mfo = new DrawableInformation(); mfo.Vertex = new IV3() { X = vertex.X, Y = vertex.Y, Z = vertex.Z}; mfo.TexCoord = new IV2() { X = texcoord.X, Y = texcoord.Y}; mfo.Normal = new IV3() {X = normal.X, Y = normal.Y, Z = normal.Z}; //mfo.Vertex.X = mfo.Vertex.X*-1; //mfo.Vertex.Y = mfo.Vertex.Y*-1; //mfo.Vertex.Z = mfo.Vertex.Z*-1; return mfo; }
public DrawableInfo(DrawableInformation[] intinfo) { info = intinfo; }