Content


NTL
Core
TransformRect

TransformRect


Transform rectangle.

You can find more information in comments below.

void TransformRect(const RectF &rect, const Mat4f &matrix, PointF &lt, PointF &rt, PointF &rb, PointF &lb); // Return transformed rectangle new corner points
RectF TransformRect(const RectF &rect, const Mat4f &matrix); // Return bound rectangle of transformed rectangle
Namespace: nitisa::helpers::math
Include: Nitisa/Math/RectF.h