Closed NaveTK closed 7 years ago
Could you please make this.r equal to the maximum radius of the asteroid or change the vertex generation so it doesn't go over this.r as it can be used to make collision more efficent? (I never liked how the asteroid could get bigger then the specified radius)
kk, fixed those things
Accidently hit Ctrl+T so it added some spaces or linebreaks at various positions of those files and marked them as changed, I hope that's not that huge of a deal, other than that all I did was replace the offset array with an array of the vertices directly which we then use to render and check collisions of the asteroid without recalculating them every time