Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Proper parameter names for psmove_get_orientation

  • Loading branch information...
commit f1b1433eea0e045d719829a4e73d9249603af76b 1 parent 5b714cb
@thenonameguy thenonameguy authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  include/psmove.h
  2. +2 −2 src/psmove.c
View
2  include/psmove.h
@@ -818,7 +818,7 @@ ADDCALL psmove_has_orientation(PSMove *move);
**/
ADDAPI void
ADDCALL psmove_get_orientation(PSMove *move,
- float *q0, float *q1, float *q2, float *q3);
+ float *w, float *x, float *y, float *z);
/**
* \brief Reset the current orientation quaternion.
View
4 src/psmove.c
@@ -1438,12 +1438,12 @@ psmove_has_orientation(PSMove *move)
void
psmove_get_orientation(PSMove *move,
- float *q0, float *q1, float *q2, float *q3)
+ float *w, float *x, float *y, float *z)
{
psmove_return_if_fail(move != NULL);
psmove_return_if_fail(move->orientation != NULL);
- psmove_orientation_get_quaternion(move->orientation, q0, q1, q2, q3);
+ psmove_orientation_get_quaternion(move->orientation, w, x, y, z);
}
void
Please sign in to comment.
Something went wrong with that request. Please try again.