Updated for conversion to double, MasDennis/Rajawali#1006

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>