Update README.md
This commit is contained in:

committed by
GitHub

parent
98c5b735a0
commit
6df556982b
@@ -13,8 +13,8 @@ You want to compute the next step from `node0` towards `node1` while limiting th
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
# Define the nodes
|
# Define the nodes
|
||||||
node0 = Node(0, 0)
|
node0 = Node2D(0, 0)
|
||||||
node1 = Node(5, 5)
|
node1 = Node2D(5, 5)
|
||||||
|
|
||||||
# Compute the next step within a distance limit of 3 units
|
# Compute the next step within a distance limit of 3 units
|
||||||
next_step = bellande_step_2d(node0, node1, limit=3)
|
next_step = bellande_step_2d(node0, node1, limit=3)
|
||||||
@@ -33,8 +33,8 @@ You want to compute the next step from `node0` towards `node1` while limiting th
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
# Define the nodes
|
# Define the nodes
|
||||||
node0 = Node(0, 0, 0)
|
node0 = Node3D(0, 0, 0)
|
||||||
node1 = Node(5, 5, 5)
|
node1 = Node3D(5, 5, 5)
|
||||||
|
|
||||||
# Compute the next step within a distance limit of 3 units
|
# Compute the next step within a distance limit of 3 units
|
||||||
next_step = bellande_step_3d(node0, node1, limit=3)
|
next_step = bellande_step_3d(node0, node1, limit=3)
|
||||||
|
Reference in New Issue
Block a user