[Examples] Fix typecast warnings in examples. (#1601)

* Fixing typecast warnings generated by visual studio 2019 in examples.

* Changes to fixes based on feedback

Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
This commit is contained in:
Jeffery Myers
2021-02-20 14:37:32 -08:00
committed by GitHub
parent 82cdd88ffe
commit 48a7cd3c87
15 changed files with 57 additions and 54 deletions

View File

@@ -75,7 +75,7 @@
// Defines and Macros
//----------------------------------------------------------------------------------
#ifndef PI
#define PI 3.14159265358979323846
#define PI 3.14159265358979323846f
#endif
#ifndef DEG2RAD