13GX_CORE_NAMESPACE_BEGIN()
31 GX_FORCE_INLINE
GxFloat2(f32 x, f32 y) : _x(x), _y(y) {}
63 GX_FORCE_INLINE
operator f32* (void){
return reinterpret_cast<f32*
>(
this); }
65 GX_FORCE_INLINE
operator const f32* (void)
const {
return reinterpret_cast<const f32*
>(
this); }
122 GX_FORCE_INLINE
operator f32* (void){
return reinterpret_cast<f32*
>(
this); }
124 GX_FORCE_INLINE
operator const f32* (void)
const {
return reinterpret_cast<const f32*
>(
this); }
182 GX_FORCE_INLINE
operator f32* (void){
return reinterpret_cast<f32*
>(
this); }
184 GX_FORCE_INLINE
operator const f32* (void)
const {
return reinterpret_cast<const f32*
>(
this); }
248 GX_FORCE_INLINE
operator f64* (void) {
return reinterpret_cast<f64*
>(
this); }
250 GX_FORCE_INLINE
operator const f64* (void)
const {
return reinterpret_cast<const f64*
>(
this); }
307 GX_FORCE_INLINE
operator f64* (void) {
return reinterpret_cast<f64*
>(
this); }
309 GX_FORCE_INLINE
operator const f64* (void)
const {
return reinterpret_cast<const f64*
>(
this); }
363 GX_FORCE_INLINE
operator f64* (void) {
return reinterpret_cast<f64*
>(
this); }
365 GX_FORCE_INLINE
operator const f64* (void)
const {
return reinterpret_cast<const f64*
>(
this); }
393 GX_INLINE
GxF16(
void);
395 GX_INLINE
GxF16(f32 valueF32);
400 GX_FORCE_INLINE
operator f32()
const;
537 GX_INLINE
GxU8N(
void);
539 GX_INLINE
GxU8N(f32 valueF32);
544 GX_FORCE_INLINE
operator f32()
const;
566 constexpr void setValueU8(u8 setValue) { _value = setValue; }
696 static GX_FORCE_INLINE u32
f32ToS10N(f32 valueF32);
698 static GX_FORCE_INLINE f32
s10NTof32(u32 valueS10N);
700 static GX_FORCE_INLINE u32
f32ToS11N(f32 valueF32);
702 static GX_FORCE_INLINE f32
s11NTof32(u32 valueS11N);
713 GX_FORCE_INLINE
void setValueF32(u32 index, f32 setValue);
754 GX_FORCE_INLINE
GxSize(s32 width, s32 height);
887 GX_FORCE_INLINE
GxPoint2(s32 x, s32 y);
1321 GX_FORCE_INLINE
b32 isFlag(T index)
const {
return (
_flag & (1 <<
static_cast<s32
>(index))) ? true :
false; }
1327 GX_ASSERT((
static_cast<s32
>(index) >= 0) && (
static_cast<s32
>(index) < 32),
"flag index error");
1328 enable ?
_flag |= (1 <<
static_cast<s32
>(index)) :
_flag &= ~(1 <<
static_cast<s32
>(index));
1413 static void clear(u32* pFlags, u32 flagCount);
1415 static void setFlag(u32* pFlags, u32 flagIndex,
b32 enable);
1417 static b32 isFlag(
const u32* pFlags, u32 flagIndex);
1421 static u32
getSize(u32 count);
1435GX_CORE_NAMESPACE_END()
1437#include "GxStruct.inl"
void GxTypedObject
その他
Definition GxDefine.h:213
プロパティクラス
Definition GxProperty.h:48
実行時型情報クラス
Definition GxRtti.h:154
ストリーム書き込みクラス
Definition GxStreamWriter.h:19
2次元浮動小数点数(倍精度)クラス
Definition GxStruct.h:207
GX_FORCE_INLINE GxDouble2(f64 x, f64 y)
コンストラクタ
Definition GxStruct.h:216
GX_FORCE_INLINE GxDouble2(void)
デフォルトコンストラクタ
Definition GxStruct.h:214
f64 _x
X値
Definition GxStruct.h:260
GX_FORCE_INLINE GxDouble2 & operator=(const GxDouble2 &double2)
代入
Definition GxStruct.inl:322
f64 _v
V値
Definition GxStruct.h:266
f64 _y
Y値
Definition GxStruct.h:265
GX_FORCE_INLINE GxDouble2(const GxDouble2 &double2)
コピーコンストラクタ
Definition GxStruct.h:231
f64 _u
U値
Definition GxStruct.h:261
3次元浮動小数点数(倍精度)クラス
Definition GxStruct.h:276
GX_FORCE_INLINE GxDouble3(void)
デフォルトコンストラクタ
Definition GxStruct.h:283
f64 _x
X値
Definition GxStruct.h:327
f64 _z
Z値
Definition GxStruct.h:329
f64 _y
Y値
Definition GxStruct.h:328
GX_FORCE_INLINE GxDouble3(f64 x, f64 y, f64 z)
コンストラクタ
Definition GxStruct.h:285
GX_FORCE_INLINE GxDouble3(const GxDouble3 &double3)
コピーコンストラクタ
Definition GxStruct.h:294
GX_FORCE_INLINE GxDouble3 & operator=(const GxVector3d &vector)
代入
Definition GxStruct.inl:394
4次元浮動小数点数(倍精度)クラス
Definition GxStruct.h:338
GX_FORCE_INLINE GxDouble4(void)
デフォルトコンストラクタ
Definition GxStruct.h:345
f64 _z
Z値
Definition GxStruct.h:375
f64 _w
W値
Definition GxStruct.h:376
f64 _x
X値
Definition GxStruct.h:373
GX_FORCE_INLINE GxDouble4 & operator=(const GxVector4d &vector)
代入
Definition GxStruct.inl:435
f64 _y
Y値
Definition GxStruct.h:374
GX_FORCE_INLINE GxDouble4(const GxDouble4 &double4)
コピーコンストラクタ
Definition GxStruct.h:352
GX_FORCE_INLINE GxDouble4(f64 x, f64 y, f64 z, f64 w)
コンストラクタ
Definition GxStruct.h:347
16bit浮動小数
Definition GxStruct.h:386
static GX_FORCE_INLINE f32 f16ToF32(GxF16 valueF16)
16ビットから32ビットの変換
Definition GxStruct.inl:547
constexpr void setValueU16(u16 setValue)
u16で値を設定
Definition GxStruct.h:422
static GX_FORCE_INLINE GxF16 f32ToF16(f32 valueF32)
32ビットから16ビットの変換
Definition GxStruct.inl:486
GX_INLINE GxF16(void)
デフォルトコンストラクタ
Definition GxStruct.inl:450
constexpr u16 getValueU16(void) const
u16で値を取得
Definition GxStruct.h:420
16bit浮動小数2次元ベクトル
Definition GxStruct.h:440
GxF16 _value[2]
値
Definition GxStruct.h:474
GX_INLINE GxF16x2(const GxFloat2 &value)
コンストラクタ
Definition GxStruct.h:451
GX_INLINE GxF16x2(const GxF16x2 &value)
コンストラクタ
Definition GxStruct.h:449
GX_FORCE_INLINE GxF16x2 & operator=(const GxF16x2 &value)
代入
Definition GxStruct.inl:577
GX_INLINE GxF16x2(const GxVector2 &value)
コンストラクタ
Definition GxStruct.h:453
GxF16x2(void)
デフォルトコンストラクタ
Definition GxStruct.h:447
16bit浮動小数4次元ベクトル
Definition GxStruct.h:483
GX_INLINE GxF16x4(const GxFloat4 &value)
コンストラクタ
Definition GxStruct.h:496
GX_INLINE GxF16x4(const GxVector4 &value)
コンストラクタ
Definition GxStruct.h:500
GX_INLINE GxF16x4(const GxFloat3 &value)
コンストラクタ
Definition GxStruct.h:494
GxF16x4(void)
デフォルトコンストラクタ
Definition GxStruct.h:490
GxF16 _value[4]
値
Definition GxStruct.h:521
GX_INLINE GxF16x4(const GxF16x4 &value)
コンストラクタ
Definition GxStruct.h:492
GX_INLINE GxF16x4(const GxVector3 &value)
コンストラクタ
Definition GxStruct.h:498
GX_FORCE_INLINE GxF16x4 & operator=(const GxF16x4 &value)
代入
Definition GxStruct.inl:619
32ビットフラグ配列の操作
Definition GxStruct.h:1365
void initialize(u32 *pFlagArray, u32 count)
初期化
Definition GxStruct.h:1383
u32 * _pFlag
フラグデータ
Definition GxStruct.h:1429
static u32 * getValuePointer(const u32 *pFlags, u32 flagIndex)
フラグのポインタを取得(static関数)
Definition GxStruct.cpp:238
GX_FORCE_INLINE b32 isFlag(u32 flagIndex) const
フラグを判定
Definition GxStruct.h:1406
u32 _count
フラグ数
Definition GxStruct.h:1430
constexpr u32 getPropertyFlagCount(void) const
プロパティ用フラグ数取得
Definition GxStruct.h:1396
constexpr void setPropertyFlagCount(u32)
プロパティ用フラグ数設定(Dummy)
Definition GxStruct.h:1398
void setPropertyFlag(const void *const pValue, u32 index)
プロパティ用フラグ設定
Definition GxStruct.h:1394
constexpr u32 getCount(void) const
フラグ数を取得
Definition GxStruct.h:1410
GX_FORCE_INLINE void setFlag(u32 flagIndex, b32 enable=true)
フラグを設定
Definition GxStruct.h:1403
GX_FORCE_INLINE void clear(void)
クリア
Definition GxStruct.h:1401
GxFlag32Array(u32 *pFlag=nullptr, u32 count=0)
コンストラクタ
Definition GxStruct.h:1381
GX_FORCE_INLINE u32 getSize(void) const
サイズを取得
Definition GxStruct.h:1408
void getPropertyFlag(void *const pValue, u32 index)
プロパティ用フラグ取得
Definition GxStruct.h:1392
フラグ
Definition GxStruct.h:1243
u32 _flag
フラグ
Definition GxStruct.h:1285
constexpr u32 getFlag(void) const
フラグ直取得
Definition GxStruct.h:1273
constexpr void clear(void)
フラグ値のクリア
Definition GxStruct.h:1277
GxFlag32Base(u32 flag)
コンストラクタ
Definition GxStruct.h:1260
constexpr void setFlag(u32 flag)
フラグ直設定
Definition GxStruct.h:1275
ビット指定型フラグ
Definition GxStruct.h:1338
GX_FORCE_INLINE b32 isFlag(u32 flag) const
フラグ判定
Definition GxStruct.h:1354
GX_FORCE_INLINE void setFlag(u32 flag, b32 enable)
フラグ設定
Definition GxStruct.h:1356
GxFlag32Bit(u32 flag=0)
コンストラクタ
Definition GxStruct.h:1345
インデックス指定型フラグ
Definition GxStruct.h:1294
GX_FORCE_INLINE void setFlag(T index, b32 enable)
Definition GxStruct.h:1325
GX_FORCE_INLINE b32 isFlag(T index) const
フラグ直取得
Definition GxStruct.h:1321
GX_FORCE_INLINE GxFlag32Index< T > & operator&=(const GxFlag32Index< T > &flag)
論理積
Definition GxStruct.h:1310
GX_FORCE_INLINE GxFlag32Index< T > & operator|=(const GxFlag32Index< T > &flag)
論理和
Definition GxStruct.h:1312
GxFlag32Index(void)
コンストラクタ
Definition GxStruct.h:1301
2次元浮動小数点数クラス
Definition GxStruct.h:22
f32 _u
U値
Definition GxStruct.h:76
GX_FORCE_INLINE GxFloat2(void)
デフォルトコンストラクタ
Definition GxStruct.h:29
f32 _x
X値
Definition GxStruct.h:75
f32 _y
Y値
Definition GxStruct.h:80
GX_FORCE_INLINE GxFloat2(f32 x, f32 y)
コンストラクタ
Definition GxStruct.h:31
f32 _v
V値
Definition GxStruct.h:81
GX_FORCE_INLINE GxFloat2(const GxFloat2 &float2)
コピーコンストラクタ
Definition GxStruct.h:46
3次元浮動小数点数クラス
Definition GxStruct.h:91
GX_FORCE_INLINE GxFloat3(const GxFloat3 &float3)
コピーコンストラクタ
Definition GxStruct.h:109
GX_FORCE_INLINE GxFloat3(f32 x, f32 y, f32 z)
コンストラクタ
Definition GxStruct.h:100
f32 _y
Y値
Definition GxStruct.h:143
f32 _x
X値
Definition GxStruct.h:142
GX_FORCE_INLINE GxFloat3(void)
デフォルトコンストラクタ
Definition GxStruct.h:98
GX_FORCE_INLINE GxFloat3 & operator=(const GxVector3 &vector)
代入
Definition GxStruct.inl:166
f32 _z
Z値
Definition GxStruct.h:144
4次元浮動小数点数クラス
Definition GxStruct.h:153
GX_FORCE_INLINE GxFloat4 & operator=(const GxVector4 &vector)
代入
Definition GxStruct.inl:219
f32 _x
X値
Definition GxStruct.h:192
f32 _y
Y値
Definition GxStruct.h:193
f32 _z
Z値
Definition GxStruct.h:194
GX_FORCE_INLINE GxFloat4(void)
デフォルトコンストラクタ
Definition GxStruct.h:160
GX_FORCE_INLINE GxFloat4(f32 x, f32 y, f32 z, f32 w)
コンストラクタ
Definition GxStruct.h:162
f32 _w
W値
Definition GxStruct.h:195
GX_FORCE_INLINE GxFloat4(const GxFloat4 &float4)
コピーコンストラクタ
Definition GxStruct.h:169
32bit[-1, 1]正規化小数3次元ベクトル(11:11:10)
Definition GxStruct.h:646
GX_FORCE_INLINE f32 getValueF32(u32 index) const
f32で値を取得
Definition GxStruct.inl:902
GX_FORCE_INLINE GxPackedNx3 & operator=(const GxPackedNx3 &value)
代入
Definition GxStruct.h:683
static GX_FORCE_INLINE f32 s10NTof32(u32 valueS10N)
10ビットから32ビットの変換
Definition GxStruct.inl:829
static constexpr u32 SHIFT_Y
Y成分シフト量
Definition GxStruct.h:657
static GX_FORCE_INLINE u32 f32ToS10N(f32 valueF32)
32ビットから10ビットの変換
Definition GxStruct.inl:804
static constexpr u32 SHIFT_X
X成分シフト量
Definition GxStruct.h:655
static constexpr u32 DIMENSION
次元数
Definition GxStruct.h:653
GxPackedNx3(void)
デフォルトコンストラクタ
Definition GxStruct.h:668
GX_INLINE GxPackedNx3(const GxPackedNx3 &value)
コンストラクタ
Definition GxStruct.h:670
GX_FORCE_INLINE void setValueF32(u32 index, f32 setValue)
f32で値を設定
Definition GxStruct.inl:939
GX_INLINE GxPackedNx3(const GxVector3 &value)
コンストラクタ
Definition GxStruct.h:674
static GX_FORCE_INLINE f32 s11NTof32(u32 valueS11N)
11ビットから32ビットの変換
Definition GxStruct.inl:878
GX_INLINE GxPackedNx3(const GxFloat3 &value)
コンストラクタ
Definition GxStruct.h:672
static constexpr u32 SHIFT_Z
Z成分シフト量
Definition GxStruct.h:659
static GX_FORCE_INLINE u32 f32ToS11N(f32 valueF32)
32ビットから11ビットの変換
Definition GxStruct.inl:853
座標
Definition GxStruct.h:867
s32 _y
Y値
Definition GxStruct.h:942
GX_FORCE_INLINE GxPoint2 & operator-=(const GxPoint2 &point)
減算代入
Definition GxStruct.inl:1475
GX_FORCE_INLINE GxPoint2 & operator=(const GxPoint2 &point)
代入
Definition GxStruct.inl:1451
friend GX_FORCE_INLINE b32 operator==(const GxPoint2 &point0, const GxPoint2 &point1)
一致
Definition GxStruct.inl:1556
friend GX_FORCE_INLINE const GxPoint2 operator-(const GxPoint2 &point)
負ベクトル
Definition GxStruct.h:912
GX_FORCE_INLINE GxPoint2(void)
コンストラクタ
Definition GxStruct.h:885
friend GX_FORCE_INLINE const GxPoint2 operator+(const GxPoint2 &point)
正ベクトル
Definition GxStruct.h:910
friend GX_FORCE_INLINE b32 operator!=(const GxPoint2 &point0, const GxPoint2 &point1)
不一致
Definition GxStruct.inl:1567
f32 getSquareDistanceToSegment(GxPoint2 segmentStart, GxPoint2 segmentEnd) const
線分との距離の2乗を取得
Definition GxStruct.cpp:128
static const GxPoint2 ZERO
原点座標
Definition GxStruct.h:876
s32 _x
X値
Definition GxStruct.h:941
GX_FORCE_INLINE GxPoint2 & operator+=(const GxPoint2 &point)
加算代入
Definition GxStruct.inl:1463
クォータニオン
Definition GxQuaternion.h:19
実数矩形
Definition GxStruct.h:1100
friend GX_FORCE_INLINE b32 operator!=(const GxRectF &rect0, const GxRectF &rect1)
不一致
Definition GxStruct.inl:2056
f32 _left
左辺
Definition GxStruct.h:1231
GX_INLINE GxVector2 getLeftBottom(void) const
左下を取得
Definition GxStruct.h:1201
GX_INLINE b32 isHit(const GxRectF &rect) const
衝突判定
Definition GxStruct.inl:2066
GX_INLINE GxVector2 getCenter(void) const
中央を取得
Definition GxStruct.h:1205
friend GX_FORCE_INLINE b32 operator==(const GxRectF &rect0, const GxRectF &rect1)
一致
Definition GxStruct.inl:2045
GX_FORCE_INLINE GxRectF(const f32 left, const f32 top, const f32 right, const f32 bottom)
コンストラクタ
Definition GxStruct.h:1129
GX_FORCE_INLINE GxRectF(void)
デフォルトコンストラクタ
Definition GxStruct.h:1127
GX_FORCE_INLINE GxRectF & operator+=(const GxRectF &rect)
加算
Definition GxStruct.inl:1874
f32 _bottom
底辺
Definition GxStruct.h:1234
f32 _top
上辺
Definition GxStruct.h:1232
GX_INLINE b32 isIncluding(const GxRectF &rect) const
内包判定
Definition GxStruct.inl:2081
friend GX_FORCE_INLINE const GxRectF operator-(const GxRectF &rect)
負
Definition GxStruct.inl:1968
constexpr f32 getHeight(void) const
高さを取得
Definition GxStruct.h:1188
GX_FORCE_INLINE const GxRectF & setGxRect(const GxRect &rect)
GxRect型をセット(セット後に自身を返す)
Definition GxStruct.inl:2136
GX_FORCE_INLINE GxRectF & operator-=(const GxRectF &rect)
減算
Definition GxStruct.inl:1888
BASE
基準位置
Definition GxStruct.h:1113
friend GX_FORCE_INLINE const GxRectF operator&(const GxRectF &rect0, const GxRectF &rect1)
論理積
Definition GxStruct.inl:2023
GX_INLINE GxVector2 getLeftTop(void) const
左上を取得
Definition GxStruct.h:1197
GX_FORCE_INLINE GxRectF(const GxRectF &rect)
コピーコンストラクタ
Definition GxStruct.h:1134
friend GX_FORCE_INLINE const GxRectF operator+(const GxRectF &rect)
正
Definition GxStruct.inl:1958
f32 _right
右辺
Definition GxStruct.h:1233
GX_INLINE void setSize(const GxSize &size, BASE base=BASE::TOP_LEFT)
サイズの変更
Definition GxStruct.inl:2108
GX_FORCE_INLINE GxRectF & operator|=(const GxRectF &rect)
論理和
Definition GxStruct.inl:1944
GX_INLINE GxVector2 getRightBottom(void) const
右下を取得
Definition GxStruct.h:1203
GX_FORCE_INLINE GxRectF & operator=(const GxRectF &rect)
代入
Definition GxStruct.inl:1860
GX_INLINE GxVector2 getRightTop(void) const
右上を取得
Definition GxStruct.h:1199
constexpr void add(f32 value)
拡大・縮小
Definition GxStruct.h:1223
constexpr f32 getWidth(void) const
幅を取得
Definition GxStruct.h:1186
constexpr void add(f32 x, f32 y)
拡大・縮小
Definition GxStruct.h:1221
GX_FORCE_INLINE GxRectF & operator&=(const GxRectF &rect)
論理積
Definition GxStruct.inl:1930
GX_FORCE_INLINE void initialize(f32 left, f32 top, f32 right, f32 bottom)
初期化
Definition GxStruct.h:1136
GX_FORCE_INLINE GxRectF(const GxVector2 &leftTop, const GxVector2 &rightBottom)
コンストラクタ
Definition GxStruct.h:1131
GX_INLINE GxSize getSize(void) const
サイズを取得
Definition GxStruct.h:1190
friend GX_FORCE_INLINE const GxRectF operator|(const GxRectF &rect0, const GxRectF &rect1)
論理和
Definition GxStruct.inl:2034
static const GxRectF ZERO
(0, 0, 0, 0)
Definition GxStruct.h:1109
矩形
Definition GxStruct.h:951
static const GxRect MIN
(max, max, min, min)
Definition GxStruct.h:960
constexpr void add(s32 value)
拡大・縮小
Definition GxStruct.h:1080
friend GX_FORCE_INLINE b32 operator!=(const GxRect &rect0, const GxRect &rect1)
不一致
Definition GxStruct.inl:1776
GX_FORCE_INLINE GxRect(const GxPoint2 &leftTop, const GxPoint2 &rightBottom)
コンストラクタ
Definition GxStruct.h:990
GX_FORCE_INLINE GxRect & operator+=(const GxRect &rect)
加算
Definition GxStruct.inl:1594
GX_INLINE GxPoint2 getLeftBottom(void) const
左下を取得
Definition GxStruct.h:1058
friend GX_FORCE_INLINE const GxRect operator&(const GxRect &rect0, const GxRect &rect1)
論理積
Definition GxStruct.inl:1743
GX_FORCE_INLINE GxRect(const GxSize &size)
コンストラクタ
Definition GxStruct.h:986
GX_FORCE_INLINE GxRect & operator|=(const GxRect &rect)
論理和
Definition GxStruct.inl:1664
GX_INLINE GxPoint2 getLeftTop(void) const
左上を取得
Definition GxStruct.h:1054
GX_FORCE_INLINE GxRect & operator&=(const GxRect &rect)
論理積
Definition GxStruct.inl:1650
GX_FORCE_INLINE void initialize(s32 left, s32 top, s32 right, s32 bottom)
初期化
Definition GxStruct.h:995
GX_FORCE_INLINE GxRect & operator-=(const GxRect &rect)
減算
Definition GxStruct.inl:1608
friend GX_FORCE_INLINE const GxRect operator+(const GxRect &rect)
正
Definition GxStruct.inl:1678
static const GxRect MAX
(min, min, max, max)
Definition GxStruct.h:962
s32 _bottom
底辺
Definition GxStruct.h:1091
GX_INLINE b32 isIncluding(const GxRect &rect) const
内包判定
Definition GxStruct.inl:1801
friend GX_FORCE_INLINE const GxRect operator-(const GxRect &rect)
負
Definition GxStruct.inl:1688
GX_INLINE GxSize getSize(void) const
サイズを取得
Definition GxStruct.h:1049
GX_INLINE GxPoint2 getRightBottom(void) const
右下を取得
Definition GxStruct.h:1060
friend GX_FORCE_INLINE const GxRect operator|(const GxRect &rect0, const GxRect &rect1)
論理和
Definition GxStruct.inl:1754
static const GxRect ZERO
(0, 0, 0, 0)
Definition GxStruct.h:964
friend GX_FORCE_INLINE b32 operator==(const GxRect &rect0, const GxRect &rect1)
一致
Definition GxStruct.inl:1765
GX_FORCE_INLINE GxRect & operator=(const GxRect &rect)
代入
Definition GxStruct.inl:1580
GX_INLINE void setSize(const GxSize &size, BASE base=BASE::TOP_LEFT)
サイズの変更
Definition GxStruct.inl:1829
GX_FORCE_INLINE GxRect(void)
デフォルトコンストラクタ
Definition GxStruct.h:982
GX_FORCE_INLINE GxRect(const s32 left, const s32 top, const s32 right, const s32 bottom)
コンストラクタ
Definition GxStruct.h:984
constexpr void add(s32 x, s32 y)
拡大・縮小
Definition GxStruct.h:1078
GX_INLINE GxPoint2 getRightTop(void) const
右上を取得
Definition GxStruct.h:1056
GX_FORCE_INLINE GxRect(const GxPoint2 &leftTop, const GxSize &size)
コンストラクタ
Definition GxStruct.h:988
GX_INLINE b32 isHit(const GxRect &rect) const
衝突判定
Definition GxStruct.inl:1786
BASE
基準位置
Definition GxStruct.h:968
GX_INLINE GxPoint2 getCenter(void) const
中央を取得
Definition GxStruct.h:1062
constexpr s32 getWidth(void) const
幅を取得
Definition GxStruct.h:1045
constexpr s32 getHeight(void) const
高さを取得
Definition GxStruct.h:1047
GX_FORCE_INLINE GxRect(const GxRect &rect)
コピーコンストラクタ
Definition GxStruct.h:993
s32 _top
上辺
Definition GxStruct.h:1089
s32 _left
左辺
Definition GxStruct.h:1088
s32 _right
右辺
Definition GxStruct.h:1090
サイズ
Definition GxStruct.h:730
GX_FORCE_INLINE const GxSize & subScalar(s32 scalar)
スカラ減算
Definition GxStruct.inl:1338
GX_FORCE_INLINE GxSize & operator+=(s32 scalar)
スカラ加算代入
Definition GxStruct.inl:1017
GX_FORCE_INLINE GxSize & operator=(const GxSize &size)
代入
Definition GxStruct.inl:1005
friend GX_FORCE_INLINE const GxSize operator&(const GxSize &size0, const GxSize &size1)
論理積
Definition GxStruct.inl:1192
friend GX_FORCE_INLINE const GxSize operator/(const GxSize &size, s32 scalar)
スカラ除算
Definition GxStruct.inl:1156
friend GX_FORCE_INLINE const GxSize operator|(const GxSize &size0, const GxSize &size1)
論理和
Definition GxStruct.inl:1203
GX_FORCE_INLINE GxSize & operator&=(const GxSize &size)
論理積
Definition GxStruct.inl:1083
GX_FORCE_INLINE GxSize & operator-=(s32 scalar)
スカラ減算代入
Definition GxStruct.inl:1028
GX_FORCE_INLINE const GxSize & mulScalar(s32 scalar)
スカラ乗算
Definition GxStruct.inl:1351
static const GxSize MIN
最小
Definition GxStruct.h:739
GX_FORCE_INLINE GxSize(void)
デフォルトコンストラクタ
Definition GxStruct.h:752
GX_FORCE_INLINE GxSize & operator|=(const GxSize &size)
論理和
Definition GxStruct.inl:1095
static GX_FORCE_INLINE const GxSize & getSubScalar(GxSize &dst, const GxSize &size, s32 scalar)
スカラ減算を取得
Definition GxStruct.inl:1252
GX_INLINE b32 isIncluding(const GxPoint2 &point) const
内包判定
Definition GxStruct.inl:1403
static const GxSize ZERO
0
Definition GxStruct.h:743
GX_FORCE_INLINE GxSize & operator*=(s32 scalar)
スカラ乗算代入
Definition GxStruct.inl:1039
GX_FORCE_INLINE const GxSize & subSize(const GxSize &size)
サイズ減算
Definition GxStruct.inl:1390
s32 _width
幅
Definition GxStruct.h:857
static GX_FORCE_INLINE const GxSize & getDivScalar(GxSize &dst, const GxSize &size, s32 scalar)
スカラ除算を取得
Definition GxStruct.inl:1282
s32 _height
高さ
Definition GxStruct.h:858
static GX_FORCE_INLINE const GxSize & getAddSize(GxSize &dst, const GxSize &size0, const GxSize &size1)
サイズ加算を取得
Definition GxStruct.inl:1297
GX_FORCE_INLINE GxSize & operator/=(s32 scalar)
スカラ除算代入
Definition GxStruct.inl:1050
GX_FORCE_INLINE const GxSize & addSize(const GxSize &size)
サイズ加算
Definition GxStruct.inl:1377
GX_FORCE_INLINE const GxSize & mulSize(const GxSize &size)
サイズ乗算
GX_FORCE_INLINE const GxSize & addScalar(s32 scalar)
スカラ加算
Definition GxStruct.inl:1325
static GX_FORCE_INLINE const GxSize & getSubSize(GxSize &dst, const GxSize &size0, const GxSize &size1)
サイズ減算を取得
Definition GxStruct.inl:1312
static GX_FORCE_INLINE const GxSize & getMulScalar(GxSize &dst, const GxSize &size, s32 scalar)
スカラ乗算を取得
Definition GxStruct.inl:1267
friend GX_FORCE_INLINE const GxSize operator*(const GxSize &size, s32 scalar)
スカラ乗算
Definition GxStruct.inl:1132
friend GX_FORCE_INLINE const GxSize operator+(const GxSize &size, s32 scalar)
スカラ加算
Definition GxStruct.inl:1108
static GX_FORCE_INLINE const GxSize & getAddScalar(GxSize &dst, const GxSize &size, s32 scalar)
スカラ加算を取得
Definition GxStruct.inl:1237
friend GX_FORCE_INLINE b32 operator!=(const GxSize &size0, const GxSize &size1)
不一致
Definition GxStruct.inl:1225
friend GX_FORCE_INLINE const GxSize operator-(const GxSize &size, s32 scalar)
スカラ減算
Definition GxStruct.inl:1120
friend GX_FORCE_INLINE b32 operator==(const GxSize &size0, const GxSize &size1)
一致
Definition GxStruct.inl:1214
GX_FORCE_INLINE const GxSize & divScalar(s32 scalar)
スカラ除算
Definition GxStruct.inl:1364
static const GxSize MAX
最大
Definition GxStruct.h:741
8bit[0, 1]正規化小数
Definition GxStruct.h:530
static GX_FORCE_INLINE f32 u8NToF32(GxU8N valueU8N)
8ビットから32ビットの変換
Definition GxStruct.inl:715
static GX_FORCE_INLINE GxU8N f32ToU8N(f32 valueF32)
32ビットから8ビットの変換
Definition GxStruct.inl:700
constexpr u8 getValueU8(void) const
u8で値を取得する
Definition GxStruct.h:564
constexpr void setValueU8(u8 setValue)
u8で値を設定する
Definition GxStruct.h:566
GX_INLINE GxU8N(void)
デフォルトコンストラクタ
Definition GxStruct.inl:665
32bit[0, 1]正規化小数4次元ベクトル(8:8:8:8)
Definition GxStruct.h:583
GX_INLINE GxU8Nx4(const GxVector4 &value)
コンストラクタ
Definition GxStruct.h:605
GxU8Nx4(void)
デフォルトコンストラクタ
Definition GxStruct.h:599
GX_FORCE_INLINE const GxU8N & operator[](u32 i) const
const配列
Definition GxStruct.h:627
GX_FORCE_INLINE GxU8N & operator[](u32 i)
配列
Definition GxStruct.h:629
GX_INLINE GxU8Nx4(const GxFloat4 &value)
コンストラクタ
Definition GxStruct.h:603
GX_FORCE_INLINE GxU8Nx4 & operator=(const GxU8Nx4 &value)
代入
Definition GxStruct.inl:728
static constexpr u32 DIMENSION
次元数
Definition GxStruct.h:590
GX_INLINE GxU8Nx4(const GxU8Nx4 &value)
コンストラクタ
Definition GxStruct.h:601
2次元ベクトル
Definition GxVector.h:34
2次元ベクトル(倍精度)
Definition GxVectord.h:25
3次元ベクトル
Definition GxVector.h:245
f32 _z
Z値
Definition GxVector.h:572
f32 _y
Y値
Definition GxVector.h:571
f32 _x
X値
Definition GxVector.h:570
3次元ベクトル(倍精度)
Definition GxVectord.h:235
4次元ベクトル
Definition GxVector.h:582
4次元ベクトル(倍精度)
Definition GxVectord.h:497
32bitブーリアン
Definition GxDefine.h:173