ebassi / graphene

A thin layer of graphic data types
http://ebassi.github.io/graphene
Other
373 stars 80 forks source link

Add squared distance operator for 2D points #257

Closed ebassi closed 1 year ago

ebassi commented 1 year ago

A convenience function that computes the squared distance between two points, and avoids the per-axis components of distance().