mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
*** empty log message ***
This commit is contained in:
parent
b0355be74e
commit
0efe52ddba
@ -67,7 +67,7 @@ get_value() const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE float PGWaitBar::
|
INLINE float PGWaitBar::
|
||||||
get_percent() const {
|
get_percent() const {
|
||||||
return _value / _range * 100.0;
|
return (_value / _range) * 100.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user