Skip to content

Commit

Permalink
Proper parameter names for psmove_get_orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
thenonameguy committed Oct 18, 2012
1 parent 5b714cb commit f1b1433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/psmove.h
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/psmove.c
Expand Up @@ -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
Expand Down

0 comments on commit f1b1433

Please sign in to comment.