Permalink
Browse files

Proper parameter names for psmove_get_orientation

  • Loading branch information...
1 parent 5b714cb commit f1b1433eea0e045d719829a4e73d9249603af76b @thenonameguy thenonameguy committed Oct 18, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 include/psmove.h
  2. +2 −2 src/psmove.c
View
@@ -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
@@ -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

0 comments on commit f1b1433

Please sign in to comment.