import type { Attribs } from "@thi.ng/geom-api" ; import { equilateralTriangle2 } from "@thi.ng/geom-poly-utils/equilateral" ; import type { Vec } from "@thi.ng/vectors" ; import { Triangle } from "./api/triangle.js" ; import { __pclike } from "./internal/pclike.js" ; export function triangle ( a , b , c , attribs ? ) ; export function triangle ( pts , attribs ? ) ; export function triangle ( ... args ) { return __pclike ( Triangle , args ) ; } export const equilateralTriangle = ( a , b , attribs ? ) => new Triangle ( equilateralTriangle2 ( a , b ) , attribs ) ;