Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Recursive transform for group
  • Loading branch information
josemduarte committed Dec 9, 2017
commit e0c031b62420d86c9a3657eab440326852660ec2
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,7 @@ public static final void transform(Group group, Matrix4d m) {
transform(atom, m);
}
for (Group altG : group.getAltLocs()) {
for (Atom atom : altG.getAtoms()) {
transform(atom, m);
}
transform(altG, m);
}
}

Expand Down Expand Up @@ -606,9 +604,7 @@ public static final void translate(Group group, Vector3d v) {
translate(atom, v);
}
for (Group altG : group.getAltLocs()) {
for (Atom atom : altG.getAtoms()) {
translate(atom, v);
}
translate(altG, v);
}
}

Expand Down