Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/smoke.c
| Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
| float *smoke_get_density(struct FLUID_3D *UNUSED(fluid)) { return NULL; } | float *smoke_get_density(struct FLUID_3D *UNUSED(fluid)) { return NULL; } | ||||
| void smoke_turbulence_free(struct WTURBULENCE *UNUSED(wt)) {} | void smoke_turbulence_free(struct WTURBULENCE *UNUSED(wt)) {} | ||||
| void smoke_initWaveletBlenderRNA(struct WTURBULENCE *UNUSED(wt), float *UNUSED(strength)) {} | void smoke_initWaveletBlenderRNA(struct WTURBULENCE *UNUSED(wt), float *UNUSED(strength)) {} | ||||
| void smoke_initBlenderRNA(struct FLUID_3D *UNUSED(fluid), float *UNUSED(alpha), float *UNUSED(beta), float *UNUSED(dt_factor), float *UNUSED(vorticity), | void smoke_initBlenderRNA(struct FLUID_3D *UNUSED(fluid), float *UNUSED(alpha), float *UNUSED(beta), float *UNUSED(dt_factor), float *UNUSED(vorticity), | ||||
| int *UNUSED(border_colli), float *UNUSED(burning_rate), float *UNUSED(flame_smoke), float *UNUSED(flame_smoke_color), | int *UNUSED(border_colli), float *UNUSED(burning_rate), float *UNUSED(flame_smoke), float *UNUSED(flame_smoke_color), | ||||
| float *UNUSED(flame_vorticity), float *UNUSED(flame_ignition_temp), float *UNUSED(flame_max_temp)) {} | float *UNUSED(flame_vorticity), float *UNUSED(flame_ignition_temp), float *UNUSED(flame_max_temp)) {} | ||||
| struct DerivedMesh *smokeModifier_do(SmokeModifierData *UNUSED(smd), Scene *UNUSED(scene), Object *UNUSED(ob), DerivedMesh *UNUSED(dm), bool UNUSED(for_render)) { return NULL; } | struct DerivedMesh *smokeModifier_do(SmokeModifierData *UNUSED(smd), Scene *UNUSED(scene), Object *UNUSED(ob), DerivedMesh *UNUSED(dm), bool UNUSED(for_render)) { return NULL; } | ||||
| float smoke_get_velocity_at(struct Object *UNUSED(ob), float UNUSED(position[3]), float UNUSED(velocity[3])) { return 0.0f; } | float smoke_get_velocity_at(struct Object *UNUSED(ob), float UNUSED(position[3]), float UNUSED(velocity[3])) { return 0.0f; } | ||||
| void flame_get_spectrum(unsigned char *UNUSED(spec), int UNUSED(width), float UNUSED(t1), float UNUSED(t2)) {} | |||||
| #endif /* WITH_SMOKE */ | #endif /* WITH_SMOKE */ | ||||
| #ifdef WITH_SMOKE | #ifdef WITH_SMOKE | ||||
| void smoke_reallocate_fluid(SmokeDomainSettings *sds, float dx, int res[3], int free_old) | void smoke_reallocate_fluid(SmokeDomainSettings *sds, float dx, int res[3], int free_old) | ||||
| { | { | ||||
| int use_heat = (sds->active_fields & SM_ACTIVE_HEAT); | int use_heat = (sds->active_fields & SM_ACTIVE_HEAT); | ||||
| ▲ Show 20 Lines • Show All 2,987 Lines • Show Last 20 Lines | |||||