Changeset View
Changeset View
Standalone View
Standalone View
add_curve_ivygen.py
| Context not available. | |||||
| probability = rand_val() | probability = rand_val() | ||||
| # Check if a new root is grown and if so, set its values | # Check if a new root is grown and if so, set its values | ||||
| if (probability * weight > self.branchingProbability): | if probability * weight > self.branchingProbability: | ||||
| tmpNode = IvyNode() | tmpNode = IvyNode() | ||||
| tmpNode.pos = node.pos | tmpNode.pos = node.pos | ||||
| tmpNode.floatingLength = node.floatingLength | tmpNode.floatingLength = node.floatingLength | ||||
| Context not available. | |||||