Symbolic Code Approach to GTD Ray-Tracing