Began merging the jam branch into the development (read more)

The list of changes committed:

* Removed SimpleRNG
* Added Timer (for debugging)
* Added BoundingBox
* Added floating point snapToBase()
* Added error check to Vector2::Normalize()
* Updated makefiles, project compiles
This commit is contained in:
Kayne Ruse
2014-07-30 21:10:43 +10:00
parent e946a0741d
commit 414a0896c9
10 changed files with 186 additions and 22 deletions
+4
View File
@@ -32,6 +32,10 @@ int snapToBase(int base, int x) {
return x / base * base;
}
double snapToBase(double base, double x) {
return floor(x / base) * base;
}
std::string truncatePath(std::string pathname) {
return std::string(
std::find_if(