-
Couldn't load subscription status.
- Fork 85
Open
@strech345
Description
when using dist only for compare, its better to use the square distance. Because otherwise quare-root needs to be calculated which is much more cpu heavy.
const d = p5.Vector.dist(this.pos, pt);
Metadata
Metadata
Assignees
Labels
No labels