MCPcopy 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 */
23export function createPoint(x: number, y: number): IPoint {
24 return { x, y };
25}
26
27/**
28 * @zh 路径节点

Callers 4

constructorMethod · 0.90
interpolateMethod · 0.90
calculateCenterMethod · 0.90
findPathMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected