[IMaterial] Fix water

This commit is contained in:
momo5502
2016-12-29 03:06:30 +01:00
parent e5e164e9b5
commit ab7a837ebc
2 changed files with 23 additions and 14 deletions

View File

@ -334,12 +334,22 @@ namespace Game
char* name;
};
struct water_t
struct WaterWritable
{
float floatTime;
float *H0X; // Count = M * N
float *H0Y; // Count = M * N
//float *wTerm; // Count = M * N
};
struct complex_s
{
float real;
float imag;
};
struct water_t
{
WaterWritable writable;
complex_s *H0;
float *wTerm;
int M;
int N;
float Lx;