Skip to content

Instantly share code, notes, and snippets.

@sgithens
Created August 21, 2023 16:25
Show Gist options
  • Save sgithens/f3f840538e7490fac42c1d06e70c9d14 to your computer and use it in GitHub Desktop.
Save sgithens/f3f840538e7490fac42c1d06e70c9d14 to your computer and use it in GitHub Desktop.
Transformation matrix with determinant zed
CL-USER 1 > (3D-MATRICES:MAT4 #(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0))
(3D-MATRICES:MAT4 #(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0))
CL-USER 2 > (setf wowm (3D-MATRICES:MAT4 #(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0)))
(3D-MATRICES:MAT4 #(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0))
CL-USER 3 > wowm
(3D-MATRICES:MAT4 #(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0))
CL-USER 4 > (3d-matrices:mdet wowm)
0.0
CL-USER 5 >
@sgithens
Copy link
Author

#(0.1299038 -0.074999996 0.0 408.0877 0.074999996 0.1299038 0.0 122.7445 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment