mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-19 08:40:24 +01:00
Avoid gcc warning and fix some indention/whitespace.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6246 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
0c2049610a
commit
8e149ffb40
@ -173,7 +173,7 @@ static inline float powf_limit(const float a, const float b)
|
||||
}
|
||||
|
||||
//! clamp(value,0,1)
|
||||
static inline const float clampf01(const float v)
|
||||
static inline float clampf01(const float v)
|
||||
{
|
||||
return v < 0.f ? 0.f : v > 1.f ? 1.f : v;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user