void Destroy_Tnormal(TNORMAL *Tnormal) { if (Tnormal != NULL) { Destroy_TPat_Fields ((TPATTERN *)Tnormal); POV_FREE(Tnormal); } }
void Destroy_Pigment (PIGMENT *Pigment) { if (Pigment != NULL) { Destroy_TPat_Fields (Pigment); delete Pigment; } }
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); } }
void Destroy_Pigment (PIGMENT *Pigment) { if (Pigment != NULL) { Destroy_Pigment((PIGMENT *)Pigment->Next); Destroy_TPat_Fields ((TPATTERN *)Pigment); POV_FREE(Pigment); } }