Sources/CcgDump/BoneLightBindInfo.cpp
//////////////////////////////////////////////////////////////////////////
// initializes the given DLight structure out of the given bone instance
// this is one-time call that is only required after construction of the DLight
// to initialize its constant parameters

initializes the given DLight structure out of the given bone instance
this is one-time call that is only required after construction of the DLight
to initialize its constant parameters
initializes the given DLight structure out of the given bone instance this is one - time call that is only required after construction of the DLight to initialize its constant parameters
void CBoneLightBindInfo::initDLight (CDLight& rDLight)
{
	rDLight.m_Flags &= ~(DLF_LIGHTSOURCE|DLF_HEATSOURCE|DLF_PROJECT|DLF_POINT);
  rDLight.m_Flags |= m_nDLightFlags;
  rDLight.m_Flags |= DLF_LOCAL;
  rDLight.m_fDirectFactor = 0;
  rDLight.m_Color = m_rgbColor;
  rDLight.m_fRadius = m_fFarAttenEnd;
}
void CBoneLightBindInfo :: initDLight ( CDLight & rDLight ) { rDLight . m_Flags &= ~ ( DLF_LIGHTSOURCE | DLF_HEATSOURCE | DLF_PROJECT | DLF_POINT ) ; rDLight . m_Flags |= m_nDLightFlags ; rDLight . m_Flags |= DLF_LOCAL ; rDLight . m_fDirectFactor = 0 ; rDLight . m_Color = m_rgbColor ; rDLight . m_fRadius = m_fFarAttenEnd ; }
initializes the given DLight structure out of the given bone instance
this is one-time call that is only required after construction of the DLight
to initialize its constant parameters
initializes the given DLight structure out of the given bone instance this is one - time call that is only required after construction of the DLight to initialize its constant parameters