forked from Mirrorlandia_minetest/irrlicht
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
@ -95,7 +95,7 @@ namespace irr
|
|||||||
//! Get the device type
|
//! Get the device type
|
||||||
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
||||||
{
|
{
|
||||||
return EIDT_CONSOLE;
|
return EIDT_CONSOLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void addPostPresentText(s16 X, s16 Y, const wchar_t *text);
|
void addPostPresentText(s16 X, s16 Y, const wchar_t *text);
|
||||||
|
@ -134,7 +134,7 @@ namespace irr
|
|||||||
//! Get the device type
|
//! Get the device type
|
||||||
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
||||||
{
|
{
|
||||||
return EIDT_X11;
|
return EIDT_X11;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_X11_
|
#ifdef _IRR_COMPILE_WITH_X11_
|
||||||
|
@ -92,7 +92,7 @@ namespace irr
|
|||||||
//! Get the device type
|
//! Get the device type
|
||||||
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
||||||
{
|
{
|
||||||
return EIDT_SDL;
|
return EIDT_SDL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Implementation of the linux cursor control
|
//! Implementation of the linux cursor control
|
||||||
|
@ -107,7 +107,7 @@ namespace irr
|
|||||||
//! Get the device type
|
//! Get the device type
|
||||||
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_
|
||||||
{
|
{
|
||||||
return EIDT_WIN32;
|
return EIDT_WIN32;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Compares to the last call of this function to return double and triple clicks.
|
//! Compares to the last call of this function to return double and triple clicks.
|
||||||
|
@ -173,7 +173,7 @@ static inline float powf_limit(const float a, const float b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! clamp(value,0,1)
|
//! 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;
|
return v < 0.f ? 0.f : v > 1.f ? 1.f : v;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user