Skip to content

Commit ff774b8

Browse files
committed
Update apply_transformation.cpp
1 parent 559ca06 commit ff774b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

IntroductionToRobotics/apply_transformation.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ int main()
4747
// Output the result
4848
std::cout << "Transformed point: (" << transformed_point[0] << ", " << transformed_point[1] << ", "
4949
<< transformed_point[2] << ")\n";
50-
50+
// Transformed point: (5, 7, 9)
51+
// Note: The output will be the same as the input point plus the translation vector since the rotation matrix is
52+
// identity.
53+
// {1 + 4, 2 + 5, 3 + 6} = {5, 7, 9}
5154
return 0;
5255
}

0 commit comments

Comments
 (0)