Alright, here we go. After a long long long time I have decided to yet again try and maintain a blog.
The other day at work I was trying to use .NET’s Dictionary class to create a hierarchical structure which allows me to do something like this:
torqueInfo[eAvatarGender.male][eJointName.elbow][eJointDirection.extension]
= new TorqueCurves(eAvatarGender.male, eJointName.elbow, eJointDirection.extension);
torqueInfo has been defined as:
Dictionary<eAvatarGender, [...]