So if you're somewhat familiar with C++ you know you can't easily implement a nice generic delegate that works for both static classes and member functions of all classes. However, with some research and thought, you will realize it's not as hard as you think!

First, I would like to share this ar...

Continue reading...

So I've noticed there are a lack of Direct X tutorials or posts, specifically with 10. So I'll make some posts, specifically starting with creating and drawing sprites in DirectX 10, either using the built in ID3DX10Sprite system, or creating your own quads.

So I've got a basic render system setu...

Continue reading...

Looking to do Multithreaded programming? In order to do that you're going to need a Mutex to prevent threads from accessing data at the same time! There are different techniques of preventing threads from accessing the same data, but they can't guarantee problems won't happen, it has to be implemen...

Continue reading...

This is an improved Vector2 class I'm working on with suggestions from Leander Hasting, though I haven't touched upon all of them yet. Beyond that, some of the critiques seem subjective to a point, and other professionals he pointed me to, make the same argument; and that is the argument of the use...

Continue reading...

It's a very simple class, but I wrote what I'm calling a Timer, it has similar functionality to a stop watch. The Basic timer class relies on the Windows QueryPerformanceFrequency, so here's the function necessary for my Timer class:

Time.h

#ifndef w_Time
#define w_Time

#include "../Definition...

Continue reading...