mirror of https://github.com/bjornbytes/lovr.git
Ensure getHands uses 4-element vec3;
This commit is contained in:
parent
16c4040b27
commit
2f3c23ed7e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue