forked from bartvdbraak/blender
Smoke: accidentally left some old code in
This commit is contained in:
parent
bba9c797b5
commit
15e617f2a9
@ -101,9 +101,6 @@ FLUID_3D::FLUID_3D(int *res, float *p0, float dt) :
|
||||
_h = new float[_totalCells];
|
||||
_Precond = new float[_totalCells];
|
||||
|
||||
_spectrum = new unsigned char[256*4*16*16];
|
||||
|
||||
|
||||
// DG TODO: check if alloc went fine
|
||||
|
||||
for (int x = 0; x < _totalCells; x++)
|
||||
@ -207,8 +204,6 @@ FLUID_3D::~FLUID_3D()
|
||||
if (_obstacles) delete[] _obstacles;
|
||||
// if (_wTurbulence) delete _wTurbulence;
|
||||
|
||||
if(_spectrum) delete[] _spectrum;
|
||||
|
||||
printf("deleted fluid\n");
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,6 @@ class FLUID_3D
|
||||
float* _h;
|
||||
float* _Precond;
|
||||
unsigned char* _obstacles;
|
||||
unsigned char *_spectrum;
|
||||
|
||||
// CG fields
|
||||
float* _residual;
|
||||
|
Loading…
Reference in New Issue
Block a user