Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_manta.h
- This file was moved from source/blender/blenkernel/BKE_smoke.h.
| Show All 11 Lines | |||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * The Original Code is Copyright (C) Blender Foundation. | * The Original Code is Copyright (C) Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| #ifndef __BKE_SMOKE_H__ | #ifndef __BKE_MANTA_H__ | ||||
| #define __BKE_SMOKE_H__ | #define __BKE_MANTA_H__ | ||||
| /** \file | /** \file | ||||
| * \ingroup bke | * \ingroup bke | ||||
| */ | */ | ||||
| struct Scene; | struct Scene; | ||||
| struct SmokeDomainSettings; | struct MantaDomainSettings; | ||||
| struct SmokeModifierData; | struct MantaModifierData; | ||||
| typedef float (*bresenham_callback)( | typedef float (*bresenham_callback)( | ||||
| float *result, float *input, int res[3], int *pixel, float *tRay, float correct); | float *result, float *input, int res[3], int *pixel, float *tRay, float correct); | ||||
| struct Mesh *smokeModifier_do(struct SmokeModifierData *smd, | struct Mesh *mantaModifier_do(struct MantaModifierData *mmd, | ||||
| struct Depsgraph *depsgraph, | struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| struct Mesh *me); | struct Mesh *me); | ||||
| void smokeModifier_free(struct SmokeModifierData *smd); | void mantaModifier_free(struct MantaModifierData *mmd); | ||||
| void smokeModifier_reset(struct SmokeModifierData *smd); | void mantaModifier_reset(struct MantaModifierData *mmd); | ||||
| void smokeModifier_reset_turbulence(struct SmokeModifierData *smd); | void mantaModifier_createType(struct MantaModifierData *mmd); | ||||
| void smokeModifier_createType(struct SmokeModifierData *smd); | void mantaModifier_copy(const struct MantaModifierData *mmd, | ||||
| void smokeModifier_copy(const struct SmokeModifierData *smd, | struct MantaModifierData *tmmd, | ||||
| struct SmokeModifierData *tsmd, | |||||
| const int flag); | const int flag); | ||||
| void BKE_smoke_reallocate_fluid(struct SmokeDomainSettings *sds, | void BKE_manta_reallocate_fluid(struct MantaDomainSettings *mds, int res[3], int free_old); | ||||
| float dx, | |||||
| int res[3], | |||||
| int free_old); | |||||
| void BKE_smoke_reallocate_highres_fluid(struct SmokeDomainSettings *sds, | |||||
| float dx, | |||||
| int res[3], | |||||
| int free_old); | |||||
| float BKE_smoke_get_velocity_at(struct Object *ob, float position[3], float velocity[3]); | float BKE_manta_get_velocity_at(struct Object *ob, float position[3], float velocity[3]); | ||||
| int BKE_smoke_get_data_flags(struct SmokeDomainSettings *sds); | int BKE_manta_get_data_flags(struct MantaDomainSettings *mds); | ||||
| bool BKE_smoke_show_highres(struct Scene *scene, struct SmokeDomainSettings *sds); | #endif /* __BKE_MANTA_H__ */ | ||||
| #endif /* __BKE_SMOKE_H__ */ | |||||