avatar
L Break Into Program @breakintoprogram.co.uk

And the corresponding C code now to rotate a point around 3 axis is much tighter. This in turn will be optimised into a single asm function at some point when I can be bothered.

Code snippet Point8_3D rotate3D(Point8_3D * p, Angle_3D * theta) { Point8_3D r1 = rotateX(*p, theta->x); Point8_3D r2 = rotateY(r1, theta->y); Point8_3D r3 = rotateZ(r2, theta->z); return r3; }
sep 1, 2025, 8:32 pm • 0 0

Replies

No replies