reflection without scalf scissor

Anyone can help me on this I found reflection method on Mesa demos
but code is big so I can’t understand
please not that it not look like a ball is scale negatively and blend etc etc.

anyone know please reply the link
thanks in advance

ok don’t reply i m sorted program function ray.c
and at position to find the reflection technique
in it