3 ms·
Not as part of a graphic's library. You might want to do 4d or 5d. But past that is very unlikely. In terms of actually solving to proble you just want a vect
by Retric 8y ago
Not as part of a graphic's library. You might want to do 4d or 5d. But past that is very unlikely.
In terms of actually solving to proble you just want a vector random distance and a function that to map random distance to actual distance. But if you never deal in 6+ dimensions that's a waste of time.
- cultus 8y agoWell, not in graphics libraries obviously, but it comes up quite a bit in other areas. Vectors with a norm of unity are just a fundamentally important set.
- tantalor 8y agoWho said anything about graphics?
- Retric 8y ago> While working through Peter Shirley’s Ray Tracing in One Weekend (http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-weekend.html http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-we...) Which is where that method was used.