Change all btVector/btTransform to const btVector/btTransform& for SIMD alignment.

This commit is contained in:
Benjamin Ellenberger
2016-10-19 18:35:01 +02:00
parent 062236af70
commit 134c788f93
2 changed files with 7 additions and 7 deletions

View File

@@ -460,7 +460,7 @@ public:
return getDistanceFitness(); // for now it is only distance
}
void resetAt(btVector3 position) {
void resetAt(const btVector3& position) {
btTransform resetPosition(btQuaternion::getIdentity(), position);
for (int i = 0; i < BODYPART_COUNT; ++i)
{