[Question 3] Use @ symble
This commit is contained in:
parent
8c78f23f98
commit
5ae34629d2
|
|
@ -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**."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue