mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-06 02:00:25 +02:00
Minor code cleanup
Mostly const fixes in headers to make it easier for users to have more warnings enabled in static code analysis Also updating our own rules a bit (kicking some out we won't need yet). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6583 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -207,7 +207,7 @@ class aabbox3d
|
||||
\return Interpolated box. */
|
||||
aabbox3d<T> getInterpolated(const aabbox3d<T>& other, f32 d) const
|
||||
{
|
||||
f32 inv = 1.0f - d;
|
||||
const f32 inv = 1.0f - d;
|
||||
return aabbox3d<T>((other.MinEdge*inv) + (MinEdge*d),
|
||||
(other.MaxEdge*inv) + (MaxEdge*d));
|
||||
}
|
||||
|
Reference in New Issue
Block a user