Commit e6092f8f authored by Tibaos's avatar Tibaos
Browse files

Final 1.0

parent 401409e8
fileFormatVersion: 2
guid: 2437a859c803a724f8eeac92f3a23caf
guid: cd34fe3df971a994aae7e2b34470c164
folderAsset: yes
DefaultImporter:
userData:
......
......@@ -90,6 +90,7 @@ public class LSystemGenerator : MonoBehaviour {
initalizeSystems();
updateParamter(null);
l_UI_system.setzeParameter();
l_UI_system.checkAllValues();
}
// Update is called once per frame
......@@ -197,8 +198,6 @@ public class LSystemGenerator : MonoBehaviour {
float blatt_breite = numberBetween(l_leafWidth_min, l_leafWidth_max, randomNumber);
float winkelaenderung = numberBetween(l_angle_min, l_angle_max, randomNumber);
Debug.Log("radius_multiplikator: " + radius_multiplikator);
//speichert Daten waehrend der Erstellung des Baumes
Vector3 oldRotation = rotation;
......@@ -482,6 +481,8 @@ public class LSystemGenerator : MonoBehaviour {
temp_rules.Add('F', replace2);
system_Tanne.m_rules = temp_rules;
l_systems[2] = system_Tanne;
updateParamter(null);
}
else
{
......
......@@ -5,7 +5,7 @@ public class OpenDialog{
private static OpenFileDialog openFileDialog;
private static SaveFileDialog saveFileDialog;
//öffnet ein windows fenster zum auswählen der texturen
public static string OpenFileDialog()
{
openFileDialog = new OpenFileDialog();
......
......@@ -104,6 +104,7 @@ public class LSystem
position[2] = pos.z;
}
//klont das L-System
public LSystem Clone()
{
LSystem clone = new LSystem();
......
This diff is collapsed.
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