| 66 | } |
| 67 | |
| 68 | void PSMoveMgr::GetGyros(int id, ofVec3f& gyros) |
| 69 | { |
| 70 | if (mMove[id]) |
| 71 | { |
| 72 | int x, y, z; |
| 73 | psmove_get_gyroscope(mMove[id], &x, &y, &z); |
| 74 | gyros.x = x; |
| 75 | gyros.y = y; |
| 76 | gyros.z = z; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | void PSMoveMgr::GetAccel(int id, ofVec3f& accel) |
| 81 | { |
no test coverage detected