Commit a2622ce6e07eae6e5d60779468cb8721f70b21e3

Ryan C. Gordon 2014-08-16T16:42:55

Haptic: Explicitly avoid floating point arithmetic if it's not needed. Thanks, Elias! Partially fixes Bugzilla #2686.