[Question 3] Use @ symble
This commit is contained in:
@@ -81,7 +81,7 @@
|
|||||||
" [0, 0, 1]], dtype=np.float64)\n",
|
" [0, 0, 1]], dtype=np.float64)\n",
|
||||||
"\n",
|
"\n",
|
||||||
" # Combine the translation and rotation into a single transformation matrix\n",
|
" # Combine the translation and rotation into a single transformation matrix\n",
|
||||||
" rotation_matrix = np.dot(np.dot(translation_back, rotation), translation_to_origin)\n",
|
" rotation_matrix = translation_back @ rotation @ translation_to_origin\n",
|
||||||
" \n",
|
" \n",
|
||||||
" return rotation_matrix"
|
" return rotation_matrix"
|
||||||
]
|
]
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
"id": "06417b95",
|
"id": "06417b95",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"This is one common mistake."
|
"This is one common **mistake**."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user