hi,
i use Visual C++ 6.0 Standard Edition SP6, but i think the error is an out of memory error..
it doesn't appear when i remove:
struct color
{
color() {}
color(float r,float g,float b,float a=0.0)
{
this->r=r;
this->g=g;
this->b=b;
this->a=a;
}
void operator = (const color c)
{
this->r=c.r;
this->g=c.g;
this->b=c.b;
this->a=c.a;
};
float r,g,b,a;
};
or the vector struct (the color struct is 16 bytes(i used sizeof(), its smaller than the vector struct))
when i got this error in the beginning i also got a warning that says '/0b0' is unknown (i couldn't find it in the project options).
so i added this '/0b0' and then removed it, and now i dont get this warning anymore.
the fatal error points to the line:
C = 2, /* The Z value of the plane's normal */
its a part of my frustum culling (the frustum culling works well, now i tried to implement a good lighting class)
btw, i dont really think i wrote something new so i got this error. i was trying to find out a solution to some weird error which isn't fatal.
and i got the '/0b0' warning before i installed SP6.
does anyone here know where i get the sp version in vc6? just to make sure i have sp6 installed well. (its the second question. the first is why i get this error and how to solve it)
thanks in advance,
pex.