Ensure getHands uses 4-element vec3;

This commit is contained in:
bjorn 2019-06-14 13:04:10 -07:00
parent 16c4040b27
commit 2f3c23ed7e
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ static int l_lovrHeadsetGetHands(lua_State* L) {
}
int count = 0;
float position[3], orientation[4];
float position[4], orientation[4];
Device hands[] = { DEVICE_HAND_LEFT, DEVICE_HAND_RIGHT };
for (size_t i = 0; i < sizeof(hands) / sizeof(hands[0]); i++) {
FOREACH_TRACKING_DRIVER(driver) {