@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
14 lines • 717 B
TypeScript
/**
* Find a path through topology faces.
* If a path is found - the result will contain start and goal faces.
*
* NOTE: if either start or goal faces are not part of the topology - an empty path will be produced.
*
* @param {number[]|Uint32Array} output path will be written here as a sequence of face IDs
* @param {number} start_face_id
* @param {number} goal_face_id
* @param {BinaryTopology} topology
* @returns {number} number of faces that make up the path. This will be 0 if no path is found.
*/
export function bt_mesh_face_find_path(output: number[] | Uint32Array, start_face_id: number, goal_face_id: number, topology: BinaryTopology): number;
//# sourceMappingURL=bt_mesh_face_find_path.d.ts.map