Browse Source

Stage of fixing differential anchore

AGP
Evgeny Gagua 3 years ago
parent
commit
daad8166dc
  1. 6
      Projects/la_mojo/build
  2. 6
      lib/components/object/objectSystemAnchor.cpp

6
Projects/la_mojo/build

@ -2,10 +2,10 @@
#make clean -e "CFG=Debug" #make clean -e "CFG=Debug"
make -e "CFG=Debug" -j6
#make -e "CFG=Debug" -j6
#make clean -e "CFG=Debug86"
#make -e "CFG=Debug86" -j4
make clean -e "CFG=Debug86"
make -e "CFG=Debug86" -j4
#make clean -e "CFG=Release86" #make clean -e "CFG=Release86"
#make -e "CFG=Release86" -j4 #make -e "CFG=Release86" -j4

6
lib/components/object/objectSystemAnchor.cpp

@ -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();

Loading…
Cancel
Save