starting to refactor path generation out of prim extrusion

arthursv
dahlia 2009-08-03 22:59:47 -07:00
parent c3dd98b016
commit 21e62e87c7
1 changed files with 18 additions and 2 deletions

View File

@ -1116,7 +1116,7 @@ namespace PrimMesher
if (path == null)
return;
String fileName = name + "_" + title + ".raw";
String completePath = Path.Combine(path, fileName);
String completePath = System.IO.Path.Combine(path, fileName);
StreamWriter sw = new StreamWriter(completePath);
for (int i = 0; i < this.faces.Count; i++)
@ -1132,6 +1132,22 @@ namespace PrimMesher
}
}
public struct PathNode
{
public float position;
public Quat rotation;
public float xScale;
public float yScale;
public PathNode(float position, Quat rotation, float xScale, float yScale)
{
this.position = position;
this.rotation = rotation;
this.xScale = xScale;
this.yScale = yScale;
}
}
public class PrimMesh
{
public string errorMessage = "";
@ -2209,7 +2225,7 @@ namespace PrimMesher
if (path == null)
return;
String fileName = name + "_" + title + ".raw";
String completePath = Path.Combine(path, fileName);
String completePath = System.IO.Path.Combine(path, fileName);
StreamWriter sw = new StreamWriter(completePath);
for (int i = 0; i < this.faces.Count; i++)