BKE_fluidsim.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * ***** BEGIN GPL LICENSE BLOCK *****
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software Foundation,
  16. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  17. *
  18. * The Original Code is Copyright (C) Blender Foundation
  19. * All rights reserved.
  20. *
  21. * The Original Code is: all of this file.
  22. *
  23. * Contributor(s): none yet.
  24. *
  25. * ***** END GPL LICENSE BLOCK *****
  26. */
  27. #ifndef __BKE_FLUIDSIM_H__
  28. #define __BKE_FLUIDSIM_H__
  29. /** \file BKE_fluidsim.h
  30. * \ingroup bke
  31. */
  32. struct Object;
  33. struct Scene;
  34. struct FluidsimSettings;
  35. struct MVert;
  36. /* old interface */
  37. void initElbeemMesh(struct Scene *scene, struct Object *ob,
  38. int *numVertices, float **vertices,
  39. int *numTriangles, int **triangles,
  40. int useGlobalCoords, int modifierIndex);
  41. /* bounding box & memory estimate */
  42. void fluid_get_bb(struct MVert *mvert, int totvert, float obmat[4][4],
  43. float start[3], float size[3]);
  44. void fluid_estimate_memory(struct Object *ob, struct FluidsimSettings *fss, char *value);
  45. #endif