[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18651] branches/blender2.5/blender/intern /elbeem/extern/LBM_fluidsim.h: 2.5

Ton Roosendaal ton at blender.org
Sat Jan 24 14:47:25 CET 2009


Revision: 18651
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18651
Author:   ton
Date:     2009-01-24 14:47:20 +0100 (Sat, 24 Jan 2009)

Log Message:
-----------
2.5

Made API for elbeem sane; it was prototyping and exporting
functions from old src/ !

Note; elbeem.h is not exported anymore.

Modified Paths:
--------------
    branches/blender2.5/blender/intern/elbeem/extern/LBM_fluidsim.h

Modified: branches/blender2.5/blender/intern/elbeem/extern/LBM_fluidsim.h
===================================================================
--- branches/blender2.5/blender/intern/elbeem/extern/LBM_fluidsim.h	2009-01-24 13:45:24 UTC (rev 18650)
+++ branches/blender2.5/blender/intern/elbeem/extern/LBM_fluidsim.h	2009-01-24 13:47:20 UTC (rev 18651)
@@ -31,36 +31,11 @@
 #ifndef LBM_FLUIDSIM_H
 #define LBM_FLUIDSIM_H
 
-struct Mesh;
-struct DerivedMesh;
-struct Object;
-struct fluidsimDerivedMesh;
+/* note; elbeem.h was exported all over, should only expose LBM_fluidsim.h */
+#include "elbeem.h"
 
-extern double fluidsimViscosityPreset[6];
-extern char* fluidsimViscosityPresetString[6];
-
-/* allocates and initializes fluidsim data */
-struct FluidsimSettings* fluidsimSettingsNew(struct Object *srcob);
-
-/* frees internal data itself */
-void fluidsimSettingsFree(struct FluidsimSettings* sb);
-
-/* duplicate internal data */
-struct FluidsimSettings* fluidsimSettingsCopy(struct FluidsimSettings* sb);
-
-/* export blender geometry to fluid solver */
-void fluidsimBake(struct Object* ob);
-
-/* read & write bobj / bobj.gz files (e.g. for fluid sim surface meshes) */
-void writeBobjgz(char *filename, struct Object *ob, int useGlobalCoords, int append, float time);
-struct Mesh* readBobjgz(char *filename, struct Mesh *orgmesh, float* bbstart, float *bbsize);
-
-/* create derived mesh for fluid sim objects */
-// WARNING - currently implemented in DerivedMesh.c!
-void loadFluidsimMesh(struct Object *srcob, int useRenderParams);
-
 /* run simulation with given config file */
-// WARNING - implemented in intern/elbeem/blendercall.cpp
+// implemented in intern/elbeem/blendercall.cpp
 int performElbeemSimulation(char *cfgfilename);
 
 





More information about the Bf-blender-cvs mailing list