// Use this for initialization
void Awake()
{
xmin = -1f * minmaxVal;
xmax = minmaxVal;
ymin = -1f * minmaxVal;
ymax = minmaxVal;
zmin = -1f * minmaxVal;
zmax = minmaxVal;
vectors = new List <Transform>();
startPts = new Vector3[2097152];
offsets = new Vector3[2097152];
solver = new AK.ExpressionSolver();
expX = new AK.Expression();
expY = new AK.Expression();
expZ = new AK.Expression();
solver.SetGlobalVariable("x", 0);
solver.SetGlobalVariable("y", 0);
solver.SetGlobalVariable("z", 0);
max_magnitude = 0f;
textureMap = new Texture3D(128, 128, 128, TextureFormat.RGBA32, true);
textureMap.wrapMode = TextureWrapMode.Clamp;
numComplete = 0;
drawn = true;
drawQueue = 0;
if (loadingMsg != null)
{
loadingMsgText = loadingMsg.GetComponent <TextMesh>();
}
sleepInterval = 126;
//CalculateVectors();
//DrawDensityPlot();
}