M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.Mat2 Struct Reference

Public Member Functions

 Mat2 (float sx, float sy, float fx, float fy)
 
void RotateCounterClockWise (float a)
 

Public Attributes

Vec2 s
 Side vector, also x axis.
 
Vec2 f
 Forward vector, also y axis.
 

Static Public Attributes

static Mat2 Identity = new Mat2(1,0,0,1)
 

Constructor & Destructor Documentation

◆ Mat2()

TaleWorlds.Library.Mat2.Mat2 ( float  sx,
float  sy,
float  fx,
float  fy 
)

Member Function Documentation

◆ RotateCounterClockWise()

void TaleWorlds.Library.Mat2.RotateCounterClockWise ( float  a)

Member Data Documentation

◆ s

Vec2 TaleWorlds.Library.Mat2.s

◆ f

Vec2 TaleWorlds.Library.Mat2.f

◆ Identity

Mat2 TaleWorlds.Library.Mat2.Identity = new Mat2(1,0,0,1)
static