Minor Labs improvement

   1266   0   0
User Avatar
Member
4 posts
Joined: Sept. 2018
Offline
Hi all,

Couldn't find any way to add on issue on the Labs github repo or another place to provide tiny suggested improvements (seemed overkill to put together a pull request for this).

Anyway, in the labs sphere network there's a sphere and a raycast operation to get a subdivided box to shift so it's a unit sphere. Should be much cheaper (and likely more accurate, I'd expect) to do with a tiny wrangle.

@P = normalize(@P) * 0.5;

Cheers,

Alan.
Edited by schmutza - Feb. 15, 2021 16:33:04
  • Quick Links