30 lines
320 B
Markdown
30 lines
320 B
Markdown
---
|
|
id:
|
|
aliases: []
|
|
tags:
|
|
- destiny/fleeting
|
|
- topic/software
|
|
- type/idea
|
|
- authorship/original
|
|
title: Pathfinding
|
|
---
|
|
# Pathfinding
|
|
|
|
```c
|
|
struct point {
|
|
double x
|
|
double y
|
|
}
|
|
|
|
struct point p1;
|
|
p1.x = 1.0d;
|
|
p1.y = 3.0d;
|
|
|
|
struct point p2;
|
|
p1.x = 4.0d;
|
|
p1.y = 6.0d;
|
|
|
|
// ??? = Pathfinder.Taxicab(p1, p2)
|
|
|
|
```
|