Store ray travel distance from intersection computation