Browse by Tags

All Tags » Games4 .NET » Algorithms » Quick Tips (RSS)

Math Installment #4: Bounding Regions

There may already be a few entries on bounding regions that I posted many months ago. At one point I think I described some different types of bounding region scenarios including strict and relaxed fit scenarios. To add some math to this a strict region...
Posted by Justin Rogers | with no comments

Improving on System.Random for gaming and simulation

The algorithm for grabbing samples in the System.Random class comes from Numeric Recipes in C, Second Edition. They've made some small changes to how the algorithm is run, to either improve performance, or improve the random characteristics of the resulting...

Taking a closer look at the power provided in stack based finite-state machines.

Abstract: I've blogged before on the various types of finite-state machines you could possibly use in the Terrarium, but I didn't really go into any depth on how you might take advantage of them. So I'm going to take this opportunity to talk about stack...

Terrarium: Enumerating collections with an outlook on how to speed up the process.

Okay, so I was going through some old source code, that I won't claim since I probably didn't write it based on the fact the as statement wasn't used (as soon as I found out about the as statement I made sure to take advantage of its usage whenever possible...
More Posts