## Ray-Sphere Intersection – From Math to Code

In this article I derive a ray-sphere intersection algorithm from it’s math. While certain knowledge in mathematics and programming will be assumed, I am trying to show all the steps of the process.
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
( function( domain, translations ) {
var localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
localeData[""].domain = domain;
wp.i18n.setLocaleData( localeData, domain );
} )( "mathml-block", { "locale_data": { "messages": { "": {} } } } );

Read More »Ray-Sphere Intersection – From Math to Code