Changeset View
Changeset View
Standalone View
Standalone View
intern/smoke/extern/smoke_API.h
| Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||
| void smoke_dissolve_wavelet(struct WTURBULENCE *wt, int speed, int log); | void smoke_dissolve_wavelet(struct WTURBULENCE *wt, int speed, int log); | ||||
| /* export */ | /* export */ | ||||
| void smoke_export(struct FLUID_3D *fluid, float *dt, float *dx, float **dens, float **react, float **flame, float **fuel, float **heat, float **heatold, | void smoke_export(struct FLUID_3D *fluid, float *dt, float *dx, float **dens, float **react, float **flame, float **fuel, float **heat, float **heatold, | ||||
| float **vx, float **vy, float **vz, float **r, float **g, float **b, unsigned char **obstacles); | float **vx, float **vy, float **vz, float **r, float **g, float **b, unsigned char **obstacles); | ||||
| void smoke_turbulence_export(struct WTURBULENCE *wt, float **dens, float **react, float **flame, float **fuel, | void smoke_turbulence_export(struct WTURBULENCE *wt, float **dens, float **react, float **flame, float **fuel, | ||||
| float **r, float **g, float **b, float **tcu, float **tcv, float **tcw); | float **r, float **g, float **b, float **tcu, float **tcv, float **tcw); | ||||
| /* flame spectrum */ | |||||
| void flame_get_spectrum(unsigned char *spec, int width, float t1, float t2); | |||||
| /* data fields */ | /* data fields */ | ||||
| int smoke_has_heat(struct FLUID_3D *fluid); | int smoke_has_heat(struct FLUID_3D *fluid); | ||||
| int smoke_has_fuel(struct FLUID_3D *fluid); | int smoke_has_fuel(struct FLUID_3D *fluid); | ||||
| int smoke_has_colors(struct FLUID_3D *fluid); | int smoke_has_colors(struct FLUID_3D *fluid); | ||||
| int smoke_turbulence_has_fuel(struct WTURBULENCE *wt); | int smoke_turbulence_has_fuel(struct WTURBULENCE *wt); | ||||
| int smoke_turbulence_has_colors(struct WTURBULENCE *wt); | int smoke_turbulence_has_colors(struct WTURBULENCE *wt); | ||||
| void smoke_ensure_heat(struct FLUID_3D *fluid); | void smoke_ensure_heat(struct FLUID_3D *fluid); | ||||
| void smoke_ensure_fire(struct FLUID_3D *fluid, struct WTURBULENCE *wt); | void smoke_ensure_fire(struct FLUID_3D *fluid, struct WTURBULENCE *wt); | ||||
| void smoke_ensure_colors(struct FLUID_3D *fluid, struct WTURBULENCE *wt, float init_r, float init_g, float init_b); | void smoke_ensure_colors(struct FLUID_3D *fluid, struct WTURBULENCE *wt, float init_r, float init_g, float init_b); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* SMOKE_API_H_ */ | #endif /* SMOKE_API_H_ */ | ||||