Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro: #3635 - Misalignment of monomers when imposing on top of each other #3662

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
Next Next commit
#3635 - correct coordinates order in Vec2.diff calculation
chgayane committed Dec 8, 2023
commit de2b1fb8c1aff587bb2951ebb56fe3844849c9d0
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ export function getSearchFunction(
const secondPoint = Vec2.findSecondPoint(coordStart, length, angleRadians);

const diff = Vec2.diff(
new Vec2(secondPoint.x, coordStart.y),
new Vec2(secondPoint.x, secondPoint.y),
new Vec2(coordStart.x, coordStart.y),
);