20,741
edits
mNo edit summary |
|||
Line 86: | Line 86: | ||
== A vector based version == | == A vector based version == | ||
One simple way to accomplish this is using a | One simple way to accomplish this is using a another vector for each waypoint, nested inside the original vector. So that we end up with a two-dimensional data structure. For example, imagine a folder containing sub folders, with folders not having names but rather indices. | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> |