Original Post
Hi
I''ve got the following code:
CVector3D& CVector3D::operator/=(float fl)
{
assert(fl != 0);
float fl = 1.0f/fl;
x *= fl;
y *= fl;
z *= fl;
return *this;
}
If I call this function with fl = 0 it should create an assert error and stop the programm.. but it''s just doing nothing.
How''s that possible?