示例#1
0
void Destroy_Tnormal(TNORMAL *Tnormal)
{
	if (Tnormal != NULL)
	{
		Destroy_TPat_Fields ((TPATTERN *)Tnormal);

		POV_FREE(Tnormal);
	}
}
示例#2
0
void Destroy_Pigment (PIGMENT *Pigment)
{
    if (Pigment != NULL)
    {
        Destroy_TPat_Fields (Pigment);

        delete Pigment;
    }
}
示例#3
0
文件: pigment.cpp 项目: Nyoho/povray
void Destroy_Pigment (PIGMENT *Pigment)
{
	if (Pigment != NULL)
	{
		Destroy_Pigment(reinterpret_cast<PIGMENT *>(Pigment->Next));

		Destroy_TPat_Fields (reinterpret_cast<TPATTERN *>(Pigment));

		POV_FREE(Pigment);
	}
}
示例#4
0
void Destroy_Pigment (PIGMENT *Pigment)
{
  if (Pigment != NULL)
  {
    Destroy_Pigment((PIGMENT *)Pigment->Next);

    Destroy_TPat_Fields ((TPATTERN *)Pigment);

    POV_FREE(Pigment);
  }
}