protected virtual void GenerateEmissionDirection( ref Vector3 dest )
{
if ( angle != 0.0f )
{
float tempAngle = Utility.UnitRandom() * angle;
// randomize direction
dest = direction.RandomDeviant( tempAngle, up );
}
else
{
// constant angle
dest = direction;
}
}