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:
@@ -107,8 +107,8 @@ class plane3d
|
||||
f32 getKnownIntersectionWithLine(const vector3d<T>& linePoint1,
|
||||
const vector3d<T>& linePoint2) const
|
||||
{
|
||||
vector3d<T> vect = linePoint2 - linePoint1;
|
||||
T t2 = (f32)Normal.dotProduct(vect);
|
||||
const vector3d<T> vect = linePoint2 - linePoint1;
|
||||
const T t2 = (f32)Normal.dotProduct(vect);
|
||||
return (f32)-((Normal.dotProduct(linePoint1) + D) / t2);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user