- experiemental code to process interpolation calcs in a background thread

Requires a new setting to be turned on in glest.ini:
ThreadedInterpolation=true
This commit is contained in:
Mark Vejvoda
2010-05-10 17:50:57 +00:00
parent 13a1630e69
commit cde5a52fd3
4 changed files with 317 additions and 42 deletions

View File

@@ -139,7 +139,7 @@ public:
y/= m;
}
std::string getString() {
std::string getString() const {
std::ostringstream streamOut;
streamOut << "x [" << x << "] y [" << y << "]";
return streamOut.str();
@@ -313,7 +313,7 @@ public:
return rv;
}
std::string getString() {
std::string getString() const {
std::ostringstream streamOut;
streamOut << "x [" << x << "] y [" << y << "] z [" << z << "]";
return streamOut.str();
@@ -453,7 +453,7 @@ public:
return x*v.x + y*v.y + z*v.z + w*v.w;
}
std::string getString() {
std::string getString() const {
std::ostringstream streamOut;
streamOut << "x [" << x << "] y [" << y << "] z [" << z << "] w [" << w << "]";
return streamOut.str();