summaryrefslogtreecommitdiff
path: root/generic/lib/geometric/length.inc
blob: 494789c033bf25e318bf64b4e8e07f4457c884e1 (plain)
1
2
3
_CLC_OVERLOAD _CLC_DEF FLOAT length(FLOATN p) {
  return native_sqrt(dot(p, p));
}