ランタイム: Mix/Geometry/OBB.h Source File

ランタイム

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

OBB.h
Go to the documentation of this file.
1 #pragma once
2
5
6 namespace Mix{ namespace Geometry{
7
10 class _MIX_DLL_API OBB
11 {
12 public:
15 enum AXIS
16 {
17 AXIS_X = 0,
18 AXIS_Y = 1,
19 AXIS_Z = 2,
20 };
21
22 public:
23 Mix::Vector3 center;
24 Mix::Vector3 axis[3];
25 Mix::Vector3 length;
26 Mix::Vector3 points[8];
27
28 public:
30 OBB( void );
37 OBB( const Mix::Vector3& c, const Mix::Vector3& ax, const Mix::Vector3& ay, const Mix::Vector3& az, const Mix::Vector3& l );
38
39 public:
41 void ComputePoints( void );
42 };
43
44 }}
Mix::Vector3
3次元浮動小数点ベクトルクラス
Definition: Vector3.h:12
Mix::Dynamics::AXIS_X
X軸
Definition: Common.h:1792
Mix::Geometry::OBB::length
Mix::Vector3 length
XYZ軸の半分の長さ
Definition: OBB.h:25
Mix::Geometry::OBB::center
Mix::Vector3 center
中心座標
Definition: OBB.h:23
Mix::Geometry::OBB
OBBクラス
Definition: OBB.h:10
Mix
ミックス
Definition: AtomicValue.h:6
Mix::Dynamics::AXIS_Y
Y軸
Definition: Common.h:1793
Mix::Dynamics::AXIS_Z
Z軸
Definition: Common.h:1794
_MIX_DLL_API
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38
Mix::Geometry::OBB::AXIS
AXIS
軸列挙定数
Definition: OBB.h:15