Problem with creating a class for drawing....

Started by
10 comments, last by MylesEvans 11 years, 3 months ago
One kind of obvious thing that jumps at me is your constructor. Take a good look at it and if you don't notice it, describe to me in detail what it does ,-)

Trienco that looks like it might be why it doesn't work.

GDsnakes you should make all function inputs const unless you have to modify it.

I changed it to this. Still the exact same same issues.


QuadDrawing::QuadDrawing( float Xoff, float Yoff)
{
QuadoffX = Xoff;
QuadoffY = Yoff;
}
Advertisement

Fixed it. Needed to Swap Buffers.

This topic is closed to new replies.

Advertisement