// undo inversion for quaternion analysis (requires proper rotations only)
p1.scaleAdd(-2, v01, p1);
p2.scaleAdd(-2, v02, p2);
p3.scaleAdd(-2, v03, p3);
}
// The second trick is to use quaternions. Each of the three faces of the
// frame (xy, yz, and zx)