diff --git a/test.ipynb b/test.ipynb index 91ae20f..21e32fb 100644 --- a/test.ipynb +++ b/test.ipynb @@ -388,6 +388,8 @@ " # Combined rotation matrix (Z-Y-X order)\n", " rotation_matrix = rot_z @ rot_y @ rot_x\n", "\n", + " points[:,0:3] = points[:,0:3].astype(np.float64)\n", + "\n", " points[:,0:3] = (points[:,0:3] * np.array(scale, dtype=np.float64)).astype(np.float64)\n", "\n", " # Apply rotation\n", @@ -684,8 +686,7 @@ " return blurred" ], "metadata": { - "id": "PoTzLauTQlHl", - "cellView": "form" + "id": "PoTzLauTQlHl" }, "execution_count": null, "outputs": [] @@ -783,8 +784,7 @@ "points = transform_points(points, translate=(0, 0, 0), rotate=(0, 0, 0), scale=(1,1,0.5))" ], "metadata": { - "id": "gEjBciYYldPF", - "cellView": "form" + "id": "gEjBciYYldPF" }, "execution_count": null, "outputs": []