BlackBulletIV/ammo — pull request #4 by qaisjp (2012-10-04 17:18:05+00:00)
Title: Update core/extensions.lua

This clamps in a more efficient way, please note I am not sure what your style is.
Mine uses
math.clamp(min, num, max)
Some use this:
math.clamp(num, min, max)

You may fix accordingly.