|
|
@ -245,9 +245,9 @@ bool systemAnchor::convertToLocal( basicPosition *SP, C3D_DECART POS, C3D_SPH_DE |
|
|
// POS - is Relative to System Anchore!!
|
|
|
// POS - is Relative to System Anchore!!
|
|
|
if( m_bUseJustLocalDiffCoords ) { |
|
|
if( m_bUseJustLocalDiffCoords ) { |
|
|
//LOG("JLO");
|
|
|
//LOG("JLO");
|
|
|
A[0] = POS.x + getX();// - getX(); // in general getX() = 0 as other coords of anchore
|
|
|
|
|
|
A[1] = POS.y + getY();// - getY();
|
|
|
|
|
|
A[2] = POS.z + getZ();// - getZ();
|
|
|
|
|
|
|
|
|
A[0] = POS.x;//+ getX();// - getX(); // in general getX() = 0 as other coords of anchore
|
|
|
|
|
|
A[1] = POS.y;// + getY();// - getY();
|
|
|
|
|
|
A[2] = POS.z;// + getZ();// - getZ();
|
|
|
} else { |
|
|
} else { |
|
|
//LOG("NLO");
|
|
|
//LOG("NLO");
|
|
|
A[0] = POS.x + getX(); |
|
|
A[0] = POS.x + getX(); |
|
|
|