Commit 5f7f2883 authored by Emeric Verschuur's avatar Emeric Verschuur

Bouuuuuuu multiplication de matrice dans le sens inverse ! maintenant...

Bouuuuuuu multiplication de matrice dans le sens inverse ! maintenant LrEntityCoposed fonctionne correctement ;-)
parent b977fa4e
......@@ -66,7 +66,7 @@ bool LrEntityComposed::operator != (const LrEntityComposed& src)
void LrEntityComposed::pack(const LrMatrix &mat){
for (LrEntityList::const_iterator it=m_entities.begin();it!=m_entities.end();it++)
{
(*it)->pack(getMat() * mat);
(*it)->pack(mat * getMat());
}
}
......
......@@ -67,7 +67,7 @@ bool LrEntityElementary::operator != (const LrEntityElementary& src)
}
void LrEntityElementary::pack(const LrMatrix &mat){
m_transfInv = m_transf = getMat() * mat;
m_transfInv = m_transf = mat * getMat();
m_transfInv.inverse();
m_transfInvTransp = m_transfInv;
m_transfInvTransp.transpose();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment