Mercurial > mm7
diff mm7_3.cpp @ 871:710cf848ad24
Particle engine made working.
author | Nomad |
---|---|
date | Mon, 01 Apr 2013 13:39:19 +0200 |
parents | d061180f2b42 |
children | 2db21a810d48 |
line wrap: on
line diff
--- a/mm7_3.cpp Thu Mar 28 00:37:58 2013 +0400 +++ b/mm7_3.cpp Mon Apr 01 13:39:19 2013 +0200 @@ -7789,7 +7789,7 @@ v15 = grid_x2 - a1; v13 = grid_z1 - a2; } - return v14 + v8 + fixpoint_mul(v13, (v10 - v8) * 128) + fixpoint_mul(v15, (v9 - v8) * 128); + return v14 + v8 + fixpoint_sub0(v13, (v10 - v8) * 128) + fixpoint_sub0(v15, (v9 - v8) * 128); } else return y_x1z1;