Chicane

2D

ヘッダー
Includes/Chicane/Core/Math/Bounds/2D.hpp
ネームスペース
Chicane::Bounds2D

コンストラクター

名前説明
Bounds2D()

関数

アクセスタイプモディファイア名前説明
public
const  Bounds2D&
static, inline
unconstrained()
public
bool
const
contains(
const  Vec2& inPoint
)
public
bool
const
containsRounded(
const  Vec2& inPoint
const  Vec4& inHorizontalRadius
const  Vec4& inVerticalRadius
)
public
bool
const
overlaps(
const  Bounds2D& inOther
)
public
bool
const
isEmpty()
public
const
intersect(
const  Bounds2D& inOther
)
public
void
add(
const  Bounds2D& inBounds
)
public
void
set(
float inTop
float inLeft
float inBottom
float inRight
)
public
void
transform(
const  Mat3& inMatrix
)

メンバ

アクセスタイプモディファイア名前説明
public
float
top
public
float
bottom
public
float
left
public
float
right
private
float
m_baseTop
private
float
m_baseBottom
private
float
m_baseLeft
private
float
m_baseRight