Question

I have to implement simple ray tracing algorithm, but I can not figure out How can I get Normal Vector of the sphere If I have the origin and radius of the sphere and the direction of the ray. thanks Wiki aboute sphere but i can not figure it out of this

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top