Replaced deprecated float constants

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

Replaced deprecated float constants