Made library compilable with `f32`

Closes https://github.com/PistonDevelopers/graphics/issues/671
Merge pull request #672 from bvssvni/master

Made library compilable with `f32`