Beispiel #1
0
Lathe::~Lathe()
{
    Destroy_Transform(Trans);

    if (--(Spline->References) == 0)
    {
        Destroy_BCyl(Spline->BCyl);

        POV_FREE(Spline->Entry);

        POV_FREE(Spline);
    }
}
Beispiel #2
0
Sor::~Sor()
{
    Destroy_Transform(Trans);

    if (--(Spline->References) == 0)
    {
        Destroy_BCyl(Spline->BCyl);

        delete[] Spline->Entry;

        delete Spline;
    }
}