Preparing search index...
The search index is not available
@mousepox/math
@mousepox/math
astar
Function astar
astar
(
grid
:
Grid
, x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
)
:
IPoint
[]
|
undefined
Find a path from one point to another using A*
Parameters
grid:
Grid
x1:
number
y1:
number
x2:
number
y2:
number
Returns
IPoint
[]
|
undefined
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@mousepox/math
Direction
Mask
Auto
Grid
Bit
Flags
Grid
Random
Spatial
Hash
Vector2
IAuto
Grid
Rule
IAuto
Grid
Rules
ICircle
IGrid
Raycast
Result
IPoint
IRange
IRectangle
Grid
For
Each
Spatial
Hash
Pair
Golden
Ratio
Tau
approximately
astar
clamp
distance
lerp
lerp
Angle
manhattan
Distance
sign
wrap
Radians
Generated using
TypeDoc
Find a path from one point to another using A*