I always use the glTexImage2D() or gluBuild2DMipmaps() functions to generate textures. You just have to handle loading the image and converting it into a format these functions can use is all. This...
Type: Posts; User: Tclord
I always use the glTexImage2D() or gluBuild2DMipmaps() functions to generate textures. You just have to handle loading the image and converting it into a format these functions can use is all. This...
Here's another way..
for (i=...)
{
.
.
if()
continue; // "Iwant to take next i here"
Heh, I guess I wasn't clear enough there. I meant:
classes are vs. (structs in C)
rather than:
(classes are vs. structs) in C
if you know what I mean. Language should have something...
I'm designing a UI system, using classes, and am running into some complications trying to do everything I want to do. I'll try and explain my goals and such.
First, there's the base control,...
Actually, there's little difference between structs and classes in C++, so structs in C++ are about as different as classes are vs. structs in C. A C++ struct is just a class with everything...