kookmin-sw / capstone-2023-19

2023 캡스톤 19조 - The Algorithmic Beauty of Plants
3 stars 2 forks source link

parametic l system float type 지원 #49

Closed jehyeon closed 1 year ago

jehyeon commented 1 year ago

A(t) : t > 5 -> B(t+1)CD(t^0.5, t-2) 이 때 ^가 이미 사용하고 있는 symbol 이기 때문에 p로 수정했음 A(t) : t > 5 -> B(t+1)CD(tp0.5, t-2) ^로 사용해도 문제가 없을 수도 있는데 확인 안해봄 A(6) iterate 실행 시 B(7)CD(0, 5) 6^0.5 이 후 int 형변환 처리 되어 있음

parametic_test_2.txt

jehyeon commented 1 year ago

48fa344dbc87c9ecfb5fc1076fa307d9639a65ce