Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Member Functions | Public Attributes | List of all members
box2d::Mat33 Struct Reference

A 3-by-3 matrix. Stored in column-major order. More...

#include <Math.hpp>

Public Member Functions

 Mat33 () noexcept=default
 The default constructor does nothing (for performance). More...
 
constexpr Mat33 (const Vec3 c1, const Vec3 c2, const Vec3 c3) noexcept
 Construct this matrix using columns. More...
 

Public Attributes

Vec3 ex
 
Vec3 ey
 
Vec3 ez
 

Detailed Description

A 3-by-3 matrix. Stored in column-major order.

Note
This data structure is 36-bytes large (on at least one 64-bit platform with 4-byte RealNum).

Constructor & Destructor Documentation

◆ Mat33() [1/2]

box2d::Mat33::Mat33 ( )
defaultnoexcept

The default constructor does nothing (for performance).

◆ Mat33() [2/2]

constexpr box2d::Mat33::Mat33 ( const Vec3  c1,
const Vec3  c2,
const Vec3  c3 
)
inlinenoexcept

Construct this matrix using columns.

Member Data Documentation

◆ ex

Vec3 box2d::Mat33::ex

◆ ey

Vec3 box2d::Mat33::ey

◆ ez

Vec3 box2d::Mat33::ez

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