diff --git a/include/ui/mat4.h b/include/ui/mat4.h index d9647cc1a..4fd1effd7 100644 --- a/include/ui/mat4.h +++ b/include/ui/mat4.h @@ -322,6 +322,7 @@ tmat44 tmat44::rotate(A radian, const tvec3& about) { r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; } + return rotation; } // ----------------------------------------------------------------------------------------