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

  1. matrix3 dihedral(vector a, vector b)

computes the rotation matrix which rotates the vector a onto the vector b.