CLOUD: Fix MSVC warnings
Fixes warning C4305: truncation from 'double' to 'float'
This commit is contained in:
parent
889cadaca5
commit
03c43f0588
1 changed files with 3 additions and 3 deletions
|
@ -27,9 +27,9 @@
|
||||||
|
|
||||||
namespace Cloud {
|
namespace Cloud {
|
||||||
|
|
||||||
const float CloudIcon::ALPHA_SPEED = 0.0005;
|
const float CloudIcon::ALPHA_SPEED = 0.0005f;
|
||||||
const float CloudIcon::ALPHA_MAX = 1;
|
const float CloudIcon::ALPHA_MAX = 1.f;
|
||||||
const float CloudIcon::ALPHA_MIN = 0.6;
|
const float CloudIcon::ALPHA_MIN = 0.6f;
|
||||||
|
|
||||||
CloudIcon::CloudIcon() {
|
CloudIcon::CloudIcon() {
|
||||||
initIcons();
|
initIcons();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue