photon_store VEX function

Stores a photon in the appropriate maps.

Context: photon

  1. void photon_store(vector P, vector N, vector Cl, vector I)

Stores a photon in the appropriate maps. The position (P), normal (N), energy (Cl), and incident direction (I) filter the photons (using photonmap).