equal
deleted
inserted
replaced
19 #ifndef AKNPHYSICSCONSTANTS_H |
19 #ifndef AKNPHYSICSCONSTANTS_H |
20 #define AKNPHYSICSCONSTANTS_H |
20 #define AKNPHYSICSCONSTANTS_H |
21 |
21 |
22 // Physics Constants |
22 // Physics Constants |
23 const TInt KDefaultFriction( 10 ); |
23 const TInt KDefaultFriction( 10 ); |
24 const TInt KFps( 50 ); // desired framerate |
24 const TInt KFps( 60 ); // desired framerate |
25 const TInt KPhysicsTime( 1000000/KFps ); // timer value |
25 const TInt KPhysicsTime( 1000000/KFps ); // timer value |
26 const TInt KPhysicsMinTime( 17000 ); // ~1000000/(2*KFps); |
26 const TInt KPhysicsMinTime( 8500 ); // ~1000000/(2*KFps); |
27 const TInt KAknHighResMinWait( 500 ); // minimum wait time between callbacks |
27 const TInt KAknHighResMinWait( 500 ); // minimum wait time between callbacks |
28 const TInt KAknHighResMaxWait( 100000 ); // maximum wait time between callbacks |
28 const TInt KAknHighResMaxWait( 100000 ); // maximum wait time between callbacks |
29 const TInt KMaxContacts( 2 ); // max amount of contacts with 2 objects |
29 const TInt KMaxContacts( 2 ); // max amount of contacts with 2 objects |
30 const TInt KZDepth( 1000 ); // Just something |
30 const TInt KZDepth( 1000 ); // Just something |
31 const TInt KSwipeDuration( 800000 ); // 800ms |
31 const TInt KSwipeDuration( 800000 ); // 800ms |