Builder/Builder/Common/Beam.h
/**
	* Init internal structures assuming that the real rays were copied
	* in from the caller.
	**/
Init internal structures assuming that the real rays were copied
in from the caller.
Init internal structures assuming that the real rays were copied in from the caller .
void initFromRays(int numRealRays) {
		this->numRealRays = numRealRays;
		memset(rayHasHit, 0, sizeof(unsigned int)*numRealRays);
		memset(rayHitpoints, 0, sizeof(SIMDHitpoint)*numRealRays);
	}
void initFromRays ( int numRealRays ) { this -> numRealRays = numRealRays ; memset ( rayHasHit , 0 , sizeof ( unsigned int ) * numRealRays ) ; memset ( rayHitpoints , 0 , sizeof ( SIMDHitpoint ) * numRealRays ) ; }
Init internal structures assuming that the real rays were copied
 in from the caller.
Init internal structures assuming that the real rays were copied in from the caller .
// set number of rays and init hitcounters: