Luna::AffineMatrix::up

Float2 up(const Float3x3 &affine_matrix)

Extracts the up direction from one 2D affine matrix.

The returned vector is scaled by the Y factor of the scale component of the affine matrix.