Logo Search packages:      
Sourcecode: xball version File versions  Download package

intf.h

#ifndef __INTF_H__
#define __INTF_H__

#define INTFAC  16      /* Multiplied to everything but velocities */

typedef long intf;

#define int2intf( val)   ((intf)((val)*INTFAC))
#define intf2int( val)   ((long)((val)/INTFAC))

#endif

Generated by  Doxygen 1.6.0   Back to index