This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright © 2013 Kővágó, Zoltán | |
* Released under WTFPL 2.0, http://www.wtfpl.net/ | |
* It comes without any warranty, to the extent permitted by applicable law. | |
*/ | |
#ifndef TAGGED_CONTAINER_HPP | |
#define TAGGED_CONTAINER_HPP | |
#pragma once | |
#include <memory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: coreLibrary_200/source/core/dgAABBPolygonSoup.cpp | |
=================================================================== | |
--- coreLibrary_200/source/core/dgAABBPolygonSoup.cpp (revision 141) | |
+++ coreLibrary_200/source/core/dgAABBPolygonSoup.cpp (working copy) | |
@@ -434,6 +434,8 @@ | |
maxPasses --; | |
} while (maxPasses && (newCost < prevCost)); | |
+ if (!nodesList.GetLast()) return root; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MemCache | |
alias :restore0 :restore | |
def restore val, f = 0 | |
Ramaze::Log.debug "Restoring #{val.inspect} (flags #{f.inspect})" | |
restore0 val, f | |
end | |
end |