ref: 06a0f75539a7602683e4c713e7604c7f2b381eac
parent: 6affa8e0c2ca580c7bd32cac93e14ddacb7c6ced
author: rodri <rgl@antares-labs.eu>
date: Thu Jul 24 12:26:37 EDT 2025
4*4*sizeof(double) → sizeof(Matrix3)
--- a/xform.c
+++ b/xform.c
@@ -103,7 +103,7 @@
Matrix3 invproj;
Point3 np;
- memmove(invproj, c->proj, 4*4*sizeof(double));
+ memmove(invproj, c->proj, sizeof(Matrix3));
invm3(invproj);
np = xform3(p, invproj);
np.w = np.w == 0? 0: 1.0/np.w;
--
⑨