oh wow thanks for that, I had no idea, sorry I am still kinda a noob. Implemented!
I already implemented something like that in my texture loader class;
public enum TextureFilter{
...
Type: Posts; User: blubee
oh wow thanks for that, I had no idea, sorry I am still kinda a noob. Implemented!
I already implemented something like that in my texture loader class;
public enum TextureFilter{
...
I don't use that method because I will need to apply scale/ rotation/ translation to my models when I want to draw with a sprite batcher, so I will have a function to return a set of vertices to add...
dwks Thanks I was rendering my sprites before doing my matrix math stuff so they were all rendering on top of each other. It didn't become clear until you pointed it out with your example.
updated...
OK, let me rephrase the question.
Creating a class to represent a sprite. I would figure the sprite needs a image, a position, a bounding box represented by its x,y, width and height, some way to...
What does that have to do with the question I asked? Is designing a sprite class only a C thing?
I hope someone with something constructive can offer some advice.
Hello C programming board
This question might be a little silly but I don't know the answer so I'm asking for help.
I have made it to the point where I can load textures *even atlas textures*...