|
Calculates the ray that reflects from a surface according to the
physic law: the hitting angle is equal to the reflected angle.
Arguments:
normal is the normal of the plane that the ray hits.
hitting_ray is the ray that hits the plane
the result is given in reflected_ray (the result is normalized)
return value: OK, or VR_ERROR (in case of an error).
|