comparison mm7_3.cpp @ 871:710cf848ad24

Particle engine made working.
author Nomad
date Mon, 01 Apr 2013 13:39:19 +0200
parents d061180f2b42
children 2db21a810d48
comparison
equal deleted inserted replaced
838:d061180f2b42 871:710cf848ad24
7787 v9 = y_x1z1; 7787 v9 = y_x1z1;
7788 v10 = y_x2z2; 7788 v10 = y_x2z2;
7789 v15 = grid_x2 - a1; 7789 v15 = grid_x2 - a1;
7790 v13 = grid_z1 - a2; 7790 v13 = grid_z1 - a2;
7791 } 7791 }
7792 return v14 + v8 + fixpoint_mul(v13, (v10 - v8) * 128) + fixpoint_mul(v15, (v9 - v8) * 128); 7792 return v14 + v8 + fixpoint_sub0(v13, (v10 - v8) * 128) + fixpoint_sub0(v15, (v9 - v8) * 128);
7793 } 7793 }
7794 else 7794 else
7795 return y_x1z1; 7795 return y_x1z1;
7796 } 7796 }
7797 7797