Commit 35fe856f authored by Tibaos's avatar Tibaos
Browse files

Final 1.1

parent e6092f8f
......@@ -84,6 +84,10 @@ public class InputSystem : MonoBehaviour {
{
m_Rigid.velocity = Vector3.zero;
}
if(Input.GetKey(KeyCode.Escape))
{
Application.Quit();
}
}
......
......@@ -88,9 +88,11 @@ public class LSystemGenerator : MonoBehaviour {
//nachdem die scene geladen wurde müssen die LSystem neu gesetzt werden
SaveRules.saveRules.Load();
initalizeSystems();
l_system_index = 0;
updateParamter(null);
l_UI_system.setzeParameter();
l_UI_system.checkAllValues();
}
// Update is called once per frame
......
......@@ -24,6 +24,7 @@ public class MeshCreator : MonoBehaviour {
Vector3[] vertices;
Vector2[] UV;
int[] Triangles;
//größe der einzelnen Dreiecke
float triangle_height = segmentLength / resolutionV;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment