Home Reference VEX VEX functions 

dihedral vex function

Contexts: chop , cop , displace , fog , image3d , light , photon , pop , shadow , sop , surface

Tags: matrix

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

  1. matrix3 dihedral(vector a, vector b)

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