import { type Box3 } from 'mathcat'; import type { ArrayLike } from './common.js'; /** * Marks triangles as walkable based on their slope angle * @param inVertices Array of vertex coordinates [x0, y0, z0, x1, y1, z1, ...] * @param inIndices Array of triangle indices [i0, i1, i2, i3, i4, i5, ...] * @param outTriAreaIds Output array of triangle area IDs, with a length equal to inIndices.length / 3 * @param walkableSlopeAngle Maximum walkable slope angle in degrees (default: 45) */ export declare const markWalkableTriangles: (inVertices: ArrayLike, inIndices: ArrayLike, outTriAreaIds: ArrayLike, walkableSlopeAngle?: number) => void; /** * Clears (sets to NULL_AREA) triangles whose slope exceeds the walkable limit. * Mirrors markWalkableTriangles but does the inverse operation. * @param inVertices Array of vertex coordinates [x0, y0, z0, ...] * @param inIndices Array of triangle indices [i0, i1, i2, ...] * @param inOutTriAreaIds In/out array of triangle area IDs (modified in place) * @param walkableSlopeAngle Maximum walkable slope angle in degrees (default: 45) */ export declare const clearUnwalkableTriangles: (inVertices: ArrayLike, inIndices: ArrayLike, inOutTriAreaIds: ArrayLike, walkableSlopeAngle?: number) => void; export declare const calculateMeshBounds: (outBounds: Box3, inVertices: ArrayLike, inIndices: ArrayLike) => Box3;