Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#3 from MissionSt/bugfix/ABLcalculation
Browse files Browse the repository at this point in the history
Fix Error in ABL Matrix Calculation
  • Loading branch information
JoeMarino committed Sep 23, 2014
2 parents f154a18 + 135c288 commit 18f7521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/vector_3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ matrix_3x3 matrix_3x3::create_look_at(vector_3 target)
{
vector_3 z_row = target.get_normal();
vector_3 x_row = vector_3(1, 0, -target.x/target.z).get_normal();
vector_3 y_row = vector_3(0, 1, -target.y/target.z).get_normal();
vector_3 y_row = vector_3::cross(z_row, x_row).get_normal();

// x_row.debug("x_row");
// y_row.debug("y_row");
Expand Down

0 comments on commit 18f7521

Please sign in to comment.