Esempio n. 1
0
 public void GenerateMesh()
 {
     if (tessel != null)
     {
         tessel.gameObject.SetActive(true);
     }
     foreach (ExpressionSet expressionSet in expressionSets)
     {
         tessel.EnqueueEquation(expressionSet.expressions[X].expression, expressionSet.expressions[Y].expression, expressionSet.expressions[Z].expression, expressionSet.ranges["u"].Min.Value, expressionSet.ranges["u"].Max.Value, expressionSet.ranges["v"].Min.Value, expressionSet.ranges["v"].Max.Value);
     }
 }
Esempio n. 2
0
 public void GenerateMesh()
 {
     if (tessel != null)
     {
         tessel.gameObject.SetActive(true);
         tessel.ClearMeshVisualizers();
     }
     foreach (ExpressionSet expressionSet in expressionSets)
     {
         tessel.EnqueueEquation(currentScale, expressionSet.expressions["X"].expression, expressionSet.expressions["Y"].expression, expressionSet.expressions["Z"].expression, expressionSet.ranges["u"].Min.Value, expressionSet.ranges["u"].Max.Value, expressionSet.ranges["v"].Min.Value, expressionSet.ranges["v"].Max.Value);
     }
 }