summaryrefslogtreecommitdiff
path: root/generic/lib/geometric/normalize.inc
blob: a23908bf038cd522fcbcded19cb91176acf26fab (plain)
1
2
3
_CLC_OVERLOAD _CLC_DEF FLOATN normalize(FLOATN p) {
  return p/length(p);
}