>>467
そうじゃなくて。
h = 3.0 - ( 9.8 / 2 * ( after - before ) * ( after - before )/1000000 );
だろ?