From 655ed9cc7f237202e8d93b47c7cb12d6fc79d8b0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 18 Mar 2013 11:44:56 +0000 Subject: style cleanup --- intern/itasc/Armature.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'intern/itasc/Armature.cpp') diff --git a/intern/itasc/Armature.cpp b/intern/itasc/Armature.cpp index 19f37a79484..e6f5fda4066 100644 --- a/intern/itasc/Armature.cpp +++ b/intern/itasc/Armature.cpp @@ -170,7 +170,7 @@ bool Armature::popQ(CacheTS timestamp) { if (m_qCCh >= 0) { double* item; - item = (double*)m_cache->getPreviousCacheItem(this, m_qCCh, ×tamp); + item = (double *)m_cache->getPreviousCacheItem(this, m_qCCh, ×tamp); if (item && m_qCTs != timestamp) { double* q = m_qKdl(0); memcpy(q, item, m_qKdl.rows()*sizeof(double)); @@ -698,8 +698,8 @@ void Armature::updateControlOutput(const Timestamp& timestamp) JointConstraint_struct* pConstraint = *it; unsigned int nr, i; for (i=0, nr = pConstraint->segment->second.q_nr; iv_nr; i++, nr++) { - *(double*)&pConstraint->value[i].y = m_qKdl[nr]; - *(double*)&pConstraint->value[i].ydot = m_qdotKdl[nr]; + *(double *)&pConstraint->value[i].y = m_qKdl[nr]; + *(double *)&pConstraint->value[i].ydot = m_qdotKdl[nr]; } if (pConstraint->function && (pConstraint->substep || (!timestamp.reiterate && !timestamp.substep))) { (*pConstraint->function)(timestamp, pConstraint->values, pConstraint->v_nr, pConstraint->param); -- cgit v1.2.3