Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxMat3f Class Reference

3×3 floating-point matrix. More...

#include <Math.h>

Inheritance diagram for FxMat3f:
Collaboration diagram for FxMat3f:

Public Member Functions

 FxMat3f ()=default
 FxMat3f (const FxMat< float, 3 > &m)
float & a ()
float & b ()
float & c ()
float & d ()
float & e ()
float & f ()
float & g ()
float & h ()
float & i ()
float a () const
float b () const
float c () const
float d () const
float e () const
float f () const
float g () const
float h () const
float i () const
void set_a (float val)
void set_b (float val)
void set_c (float val)
void set_d (float val)
void set_e (float val)
void set_f (float val)
void set_g (float val)
void set_h (float val)
void set_i (float val)
FxMat2f Rot () const
FxVec2fFxVec2f t () const
void set_Rot (const FxMat2f &R)
void set_t (const FxVec2fFxVec2f &trans)
FxMat3f inv_transform () const
Public Member Functions inherited from FxMat< float, 3 >
 FxMat ()=default
FxMat & operator= (const FxMat &) &=default
constexpr float & operator() (int row, int col) noexcept
constexpr float * data () noexcept

Additional Inherited Members

Protected Member Functions inherited from FxMat< float, 3 >
constexpr FxVec< float, N > row (int r) const noexcept

Detailed Description

3×3 floating-point matrix.

Definition at line 503 of file Math.h.

Constructor & Destructor Documentation

◆ FxMat3f() [1/2]

FxMat3f::FxMat3f ( )
default

◆ FxMat3f() [2/2]

FxMat3f::FxMat3f ( const FxMat< float, 3 > & m)
inline

Definition at line 507 of file Math.h.

Member Function Documentation

◆ a() [1/2]

float & FxMat3f::a ( )
inline

Definition at line 511 of file Math.h.

◆ a() [2/2]

float FxMat3f::a ( ) const
inline

Definition at line 524 of file Math.h.

◆ b() [1/2]

float & FxMat3f::b ( )
inline

Definition at line 512 of file Math.h.

◆ b() [2/2]

float FxMat3f::b ( ) const
inline

Definition at line 525 of file Math.h.

◆ c() [1/2]

float & FxMat3f::c ( )
inline

Definition at line 513 of file Math.h.

◆ c() [2/2]

float FxMat3f::c ( ) const
inline

Definition at line 526 of file Math.h.

◆ d() [1/2]

float & FxMat3f::d ( )
inline

Definition at line 515 of file Math.h.

◆ d() [2/2]

float FxMat3f::d ( ) const
inline

Definition at line 527 of file Math.h.

◆ e() [1/2]

float & FxMat3f::e ( )
inline

Definition at line 516 of file Math.h.

◆ e() [2/2]

float FxMat3f::e ( ) const
inline

Definition at line 528 of file Math.h.

◆ f() [1/2]

float & FxMat3f::f ( )
inline

Definition at line 517 of file Math.h.

◆ f() [2/2]

float FxMat3f::f ( ) const
inline

Definition at line 529 of file Math.h.

◆ g() [1/2]

float & FxMat3f::g ( )
inline

Definition at line 519 of file Math.h.

◆ g() [2/2]

float FxMat3f::g ( ) const
inline

Definition at line 530 of file Math.h.

◆ h() [1/2]

float & FxMat3f::h ( )
inline

Definition at line 520 of file Math.h.

◆ h() [2/2]

float FxMat3f::h ( ) const
inline

Definition at line 531 of file Math.h.

◆ i() [1/2]

float & FxMat3f::i ( )
inline

Definition at line 521 of file Math.h.

◆ i() [2/2]

float FxMat3f::i ( ) const
inline

Definition at line 532 of file Math.h.

◆ inv_transform()

FxMat3f FxMat3f::inv_transform ( ) const
inline

Definition at line 575 of file Math.h.

◆ Rot()

FxMat2f FxMat3f::Rot ( ) const
inline

Definition at line 549 of file Math.h.

◆ set_a()

void FxMat3f::set_a ( float val)
inline

Definition at line 536 of file Math.h.

◆ set_b()

void FxMat3f::set_b ( float val)
inline

Definition at line 537 of file Math.h.

◆ set_c()

void FxMat3f::set_c ( float val)
inline

Definition at line 538 of file Math.h.

◆ set_d()

void FxMat3f::set_d ( float val)
inline

Definition at line 540 of file Math.h.

◆ set_e()

void FxMat3f::set_e ( float val)
inline

Definition at line 541 of file Math.h.

◆ set_f()

void FxMat3f::set_f ( float val)
inline

Definition at line 542 of file Math.h.

◆ set_g()

void FxMat3f::set_g ( float val)
inline

Definition at line 544 of file Math.h.

◆ set_h()

void FxMat3f::set_h ( float val)
inline

Definition at line 545 of file Math.h.

◆ set_i()

void FxMat3f::set_i ( float val)
inline

Definition at line 546 of file Math.h.

◆ set_Rot()

void FxMat3f::set_Rot ( const FxMat2f & R)
inline

Definition at line 561 of file Math.h.

◆ set_t()

void FxMat3f::set_t ( const FxVec2fFxVec2f & trans)
inline

Definition at line 569 of file Math.h.

◆ t()

FxVec2fFxVec2f FxMat3f::t ( ) const
inline

Definition at line 558 of file Math.h.


The documentation for this class was generated from the following file: