Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ createPoint
Function
createPoint
packages/pathfinding/src/core/IPathfinding.ts:23–25 ·
view source on GitHub ↗
(x: number, y: number)
Source
from the content-addressed store, hash-verified
21
* @en Create a point
22
*/
23
export
function
createPoint(x: number, y: number): IPoint {
24
return
{ x, y };
25
}
26
27
/**
28
* @zh 路径节点
Callers
4
constructor
Method · 0.90
interpolate
Method · 0.90
calculateCenter
Method · 0.90
findPath
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected