|
|
|
|
|
by catlifeonmars
154 days ago
|
|
> you could also consider skipping the sqrt. This is a trick I reach for all the time: it’s cheaper to compare squared distances than completing the Euclidean calculation. For example, to determine whether to stop calculating lerp: x*x+y*y <= epsilon. |
|