dihedral VEX function
computes the rotation matrix which rotates the vector a onto the vector b.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
matrix3 dihedral(vector a, vector b)
computes the rotation matrix which rotates the vector a onto the vector b.