struct
ArcMat3
- Module
- Arc
- Header
#include "Arc/Core/ArcMath.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
float m[9] = | 2D affine transform stored as 3x3 matrix (row-major) [ m[0] m[1] m[2] ] [ scaleX shearX transX ] [ m[3] m[4] m[5] ] = [ shearY scaleY transY ] [ m[6] m[7] m[8] ] [ 0 0 1 ] |
Constructors
| Signature | Name | Description |
|---|---|---|
ArcMat3() = default | ArcMat3 |
Public functions
| Returns | Name | Description |
|---|---|---|
ArcMat3 | Identity | |
ArcMat3 | Translation | |
ArcMat3 | Scale | |
ArcMat3 | Rotation | |
ArcMat3 | operator* | |
ArcVec2 | TransformPoint | |
ArcVec2 | TransformVector | |
ArcMat3 | RotationAround | |
ArcMat3 | ScaleAround | |
ArcVec2 | GetTranslation | |
ArcVec2 | GetScale | |
float | Determinant | |
bool | IsIdentity | |
bool | IsTranslationOnly | |
ArcMat3 | Inverse | |
ArcVec2 | TransformedBoundsMin | |
ArcVec2 | TransformedBoundsMax |
Function details
ArcMat3
C++
ArcMat3() = defaultIdentity
C++
static ArcMat3 Identity()Translation
C++
static ArcMat3 Translation(float x, float y)Scale
C++
static ArcMat3 Scale(float sx, float sy)Rotation
C++
static ArcMat3 Rotation(float radians)operator*
C++
ArcMat3 operator*(const ArcMat3& other) constTransformPoint
C++
ArcVec2 TransformPoint(const ArcVec2& point) constTransformVector
C++
ArcVec2 TransformVector(const ArcVec2& vec) constRotationAround
C++
static ArcMat3 RotationAround(float radians, const ArcVec2& pivot)ScaleAround
C++
static ArcMat3 ScaleAround(float sx, float sy, const ArcVec2& pivot)GetTranslation
C++
ArcVec2 GetTranslation() constGetScale
C++
ArcVec2 GetScale() constDeterminant
C++
float Determinant() constIsIdentity
C++
bool IsIdentity() constIsTranslationOnly
C++
bool IsTranslationOnly() constInverse
C++
ArcMat3 Inverse() constTransformedBoundsMin
C++
ArcVec2 TransformedBoundsMin(const ArcVec2& min, const ArcVec2& max) constTransformedBoundsMax
C++
ArcVec2 TransformedBoundsMax(const ArcVec2& min, const ArcVec2& max) constGenerated from Arc/Core/ArcMath.h via arc.json · Nov 5, 2026Version 1.0.0