# HG changeset patch # User John Tsiombikas # Date 1400081318 -10800 # Node ID f0277d348c2c8e7f9169a8df9fbde7a7d3e2e84c # Parent 6d04caf510abc779adb39704a2e4090a154e837a fixed goat3d_get_node_ to return only the node's transformations diff -r 6d04caf510ab -r f0277d348c2c src/goat3d.cc --- a/src/goat3d.cc Wed May 14 05:34:38 2014 +0300 +++ b/src/goat3d.cc Wed May 14 18:28:38 2014 +0300 @@ -897,7 +897,7 @@ GOAT3DAPI void goat3d_get_node_position(const struct goat3d_node *node, float *xptr, float *yptr, float *zptr, long tmsec) { - Vector3 pos = node->get_position(tmsec); + Vector3 pos = node->get_node_position(tmsec); *xptr = pos.x; *yptr = pos.y; *zptr = pos.z; @@ -905,7 +905,7 @@ GOAT3DAPI void goat3d_get_node_rotation(const struct goat3d_node *node, float *xptr, float *yptr, float *zptr, float *wptr, long tmsec) { - Quaternion q = node->get_rotation(tmsec); + Quaternion q = node->get_node_rotation(tmsec); *xptr = q.v.x; *yptr = q.v.y; *zptr = q.v.z; @@ -914,7 +914,7 @@ GOAT3DAPI void goat3d_get_node_scaling(const struct goat3d_node *node, float *xptr, float *yptr, float *zptr, long tmsec) { - Vector3 scale = node->get_scaling(tmsec); + Vector3 scale = node->get_node_scaling(tmsec); *xptr = scale.x; *yptr = scale.y; *zptr = scale.z;