Friday, January 25, 2019

Houville :: Pivoting away from that annoying copy to points with N, "Oh it's sideways" nonsense

If you have cards scattered around and want to copy something useful in their place, this will rotate @N for you.
vector up = point(0,"P",0) - point(0,"P",1);
vector axis = point(0,"P",0) - point(0,"P",2);
@N = normalize(cross(up,axis));