He’s referring to simply working out the cosine of your cone’s angle only once, since it doesn’t vary. Which makes me realise my pseudocode is suboptimal. Better to compare cosines instead of comparing angles. Step 4 reduces to:
if(Dot < ConeCosine * FMath::Sqrt(SquaredDistance)) then skip.
Where you calculate ConeCosine = FMath::Cos(ConeHalfAngle) once and store it. By the way in case you’re wondering, this just comes from the dot product formula A dot B = |A||B|(Cosine of angle between A & B).
Thanks !