This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "Octree.h" | |
| ThreadPool* Octree::threadPool; | |
| OctreeNode* Octree::BulidOctree(Point center, float halfWidth, int stopDepth, int MaxStopDepth) | |
| { | |
| if(stopDepth == MaxStopDepth) threadPool = new ThreadPool(MAX_THREADS); | |
| if (stopDepth < 0) return nullptr; | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [System.Serializable] | |
| public class Pathfinding_JSP : PathFinding | |
| { | |
| bool ortoganolFound; | |
| public bool manhatten = true, eucliden, octile, chebyshev; | |
| [System.Serializable] | |
| class NodeInformation | |
| { |