Merge pull request #1687 from erwincoumans/master

fix VR controllers only visible in one eye
This commit is contained in:
erwincoumans
2018-05-16 14:53:06 -07:00
committed by GitHub
6 changed files with 43 additions and 29 deletions

View File

@@ -528,6 +528,14 @@ protected:
otherArray.copy(0, otherSize, m_data);
}
void removeAtIndex(int index)
{
if (index<size())
{
swap( index,size()-1);
pop_back();
}
}
};
#endif //B3_OBJECT_ARRAY__