comparison Math.h @ 1640:afc1c3514dd5

Some common code from ODM and BLV RenderParams moved to IndoorCameraD3D
author Nomad
date Tue, 17 Sep 2013 17:40:59 +0200
parents 89dec2be255f
children 7182930263b3
comparison
equal deleted inserted replaced
1639:b60ddd777d50 1640:afc1c3514dd5
28 __int64 fixpoint_sub2(int, int); 28 __int64 fixpoint_sub2(int, int);
29 __int64 fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2); 29 __int64 fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2);
30 __int64 fixpoint_div(int, int); 30 __int64 fixpoint_div(int, int);
31 __int64 fixpoint_mul(int, int); 31 __int64 fixpoint_mul(int, int);
32 int fixpoint_from_float(float value); 32 int fixpoint_from_float(float value);
33 int fixpoint_from_int(int lhv, int rhv);
33 34
34 template <typename FloatType> 35 template <typename FloatType>
35 inline int bankersRounding( 36 inline int bankersRounding(
36 const FloatType& value 37 const FloatType& value
37 ) { 38 ) {