i have to make a Simple Math Library with a Vector class, Matrix class and a node class i have all the info i need to do it, but i have 3 errors and i need some help here is the code i have sofar
void Normalise()
{
length = GetMagnitude();
normal.x = x / length;
normal.y = y / length;
}
};
and here are the errors
error C2065: 'normal' : undeclared identifier
error C2228: left of '.x' must have class/struct/union
error C2228: left of '.y' must have class/struct/union