Lines Matching refs:Photon
901 Photon *Photon; in addSurfacePhoton() local
938 Photon = map->AllocatePhoton(); in addSurfacePhoton()
941 colour2photonRgbe(Photon->colour, LightCol2); in addSurfacePhoton()
944 Assign_Vector(Photon->Loc, Point); in addSurfacePhoton()
958 Photon->theta=(signed char)(theta*127.0/M_PI); in addSurfacePhoton()
959 Photon->phi=(signed char)(phi*127.0/M_PI); in addSurfacePhoton()
993 Photon *Photon; in addMediaPhoton() local
1025 Photon = threadData->mediaPhotonMap->AllocatePhoton(); in addMediaPhoton()
1028 colour2photonRgbe(Photon->colour, LightCol2); in addMediaPhoton()
1031 Assign_Vector(Photon->Loc, Point); in addMediaPhoton()
1045 Photon->theta=(signed char)(theta*127.0/M_PI); in addMediaPhoton()
1046 Photon->phi=(signed char)(phi*127.0/M_PI); in addMediaPhoton()
1329 Photon* PhotonMap::AllocatePhoton() in AllocatePhoton()
1353 Photon **newMap; in AllocatePhoton()
1354 newMap = (Photon **)POV_MALLOC(sizeof(Photon *)*this->numBlocks*2, "photons"); in AllocatePhoton()
1372 this->head[j] = (Photon *)POV_MALLOC(sizeof(Photon)*PHOTON_BLOCK_SIZE, "photons"); in AllocatePhoton()
1396 Photon **newMap; in mergeMap()
1397 newMap = (Photon **)POV_MALLOC(sizeof(Photon *)*blocksNeeded, "photons"); in mergeMap()
1416 Photon* lastBlock = this->head[thisj]; in mergeMap()
1429 this->head[thisj] = (Photon *)POV_MALLOC(sizeof(Photon)*PHOTON_BLOCK_SIZE, "photons"); in mergeMap()
1440 this->head[thisj] = (Photon *)POV_MALLOC(sizeof(Photon)*PHOTON_BLOCK_SIZE, "photons"); in mergeMap()
1646 Photon tmp; in swapPhotons()
1683 Photon tmp; in insertSort()
1862 Photon *ph = &(PHOTON_AMF(this->head,i)); in sortAndSubdivide()
2151 static void PQInsert(Photon *photon, DBL d) in PQInsert()
2184 static void PQInsert(Photon *photon, DBL d) in PQInsert()
2228 void PhotonGatherer::PQInsert(Photon *photon, DBL d) in PQInsert()
2232 Photon** Photons = gatheredPhotons.photonGatherList; in PQInsert()
2254 void PhotonGatherer::FullPQInsert(Photon *photon, DBL d) in FullPQInsert()
2258 Photon** Photons = gatheredPhotons.photonGatherList; in FullPQInsert()
2327 Photon *photon; in gatherPhotonsRec()
2705 Photon** tmpPhotonGatherList = photonGatherList; in swapWith()
2721 photonGatherList = (Photon**)POV_MALLOC(sizeof(Photon *)*maxGatherCount, "Photon Map Info"); in GatheredPhotons()