Compose a 4×4 column-major matrix whose translation is pos
and whose local +Z axis is dir. The remaining axes (X, Y)
form an orthonormal basis spanning the plane's surface.
Exposed because the section-planes proxy quad also needs the
same matrix to align its visual quad with the plane.
Compose a 4×4 column-major matrix whose translation is
posand whose local +Z axis isdir. The remaining axes (X, Y) form an orthonormal basis spanning the plane's surface.Exposed because the section-planes proxy quad also needs the same matrix to align its visual quad with the plane.