Blame toonz/sources/stdfx/igs_motion_wind_table.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Shinya Kitaoka |
810553 |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef igs_motion_wind_table_h
|
|
Toshihiro Shimizu |
890ddd |
#define igs_motion_wind_table_h
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#include <vector></vector>
|
|
Toshihiro Shimizu |
890ddd |
#include "igs_math_random.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef IGS_MOTION_WIND_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#define IGS_MOTION_WIND_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
namespace igs
|
|
Toshihiro Shimizu |
890ddd |
{
|
|
Toshihiro Shimizu |
890ddd |
namespace motion_wind
|
|
Toshihiro Shimizu |
890ddd |
{
|
|
Toshihiro Shimizu |
890ddd |
IGS_MOTION_WIND_EXPORT int table_size(
|
|
Toshihiro Shimizu |
890ddd |
const double length_min, const double length_max);
|
|
Toshihiro Shimizu |
890ddd |
IGS_MOTION_WIND_EXPORT int make_table( /* tableの有効長を返す */
|
|
Toshihiro Shimizu |
890ddd |
std::vector<double> &table, igs::math::random &length_random, igs::math::random &force_random, igs::math::random &density_random, const double length_min = 0.0, const double length_max = 1.0, const double length_bias = 1.0 // 0<...1...</double>
|
|
Toshihiro Shimizu |
890ddd |
,
|
|
Toshihiro Shimizu |
890ddd |
const double force_min = 0.0, const double force_max = 1.0, const double force_bias = 1.0 // 0<...1...
|
|
Toshihiro Shimizu |
890ddd |
,
|
|
Toshihiro Shimizu |
890ddd |
const double density_min = 0.0, const double density_max = 1.0, const double density_bias = 1.0 // 0<...1...
|
|
Toshihiro Shimizu |
890ddd |
);
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif /* !igs_motion_wind_table_h */
|