|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| void | initElbeemMesh (struct Scene *scene, struct Object *ob, int *numVertices, float **vertices, int *numTriangles, int **triangles, int useGlobalCoords, int modifierIndex) |
| void | fluid_get_bb (struct MVert *mvert, int totvert, float obmat[][4], float start[3], float size[3]) |
| void | fluid_estimate_memory (struct Object *ob, struct FluidsimSettings *fss, char *value) |
Definition in file BKE_fluidsim.h.
| void fluid_estimate_memory | ( | struct Object * | ob, |
| struct FluidsimSettings * | fss, | ||
| char * | value | ||
| ) |
Definition at line 371 of file MOD_fluidsim_util.c.
References FluidsimSettings::bbSize, FluidsimSettings::bbStart, Object::data, elbeemEstimateMemreq(), fluid_get_bb(), FluidsimSettings::maxRefine, Mesh::mvert, OB_MESH, Object::obmat, FluidsimSettings::resolutionxyz, Mesh::totvert, and Object::type.
| void fluid_get_bb | ( | struct MVert * | mvert, |
| int | totvert, | ||
| float | obmat[][4], | ||
| float | start[3], | ||
| float | size[3] | ||
| ) |
Definition at line 323 of file MOD_fluidsim_util.c.
References co, copy_v3_v3(), i, mul_m4_v3(), and zero_v3().
Referenced by fluid_estimate_memory(), and fluidsimBake().
| void initElbeemMesh | ( | struct Scene * | scene, |
| struct Object * | ob, | ||
| int * | numVertices, | ||
| float ** | vertices, | ||
| int * | numTriangles, | ||
| int ** | triangles, | ||
| int | useGlobalCoords, | ||
| int | modifierIndex | ||
| ) |
Definition at line 75 of file fluidsim.c.
References CD_MASK_BAREMESH, co, DerivedMesh::getFaceArray, DerivedMesh::getNumFaces, DerivedMesh::getNumVerts, DerivedMesh::getVertArray, i, MEM_callocN(), mesh_create_derived_index_render(), mul_m4_v3(), NULL, Object::obmat, DerivedMesh::release, MFace::v1, MFace::v2, MFace::v3, MFace::v4, and VECCOPY.
Referenced by export_fluid_objects(), fluid_init_all_channels(), and set_vertex_channel().