A compact way to rotate a 3D object: p = a*dot(p,a)+cross(p,a) And instead of changing the angle, yo...
Shared by Xor @XorDev on X
A compact way to rotate a 3D object: p = a*dot(p,a)+cross(p,a) And instead of changing the angle, you change the axis of rotation: a = normalize(cos(t+vec3(0,2,4)));
A compact way to rotate a 3D object: p = a*dot(p,a)+cross(p,a) And instead of changing the angle, you change the axis of rotation: a = normalize(cos(t+vec3(0,2,4)));
byteCoder