ランタイム
OBB.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace Mix{ namespace Geometry{
7 
11  {
12  public:
15  enum AXIS
16  {
17  AXIS_X = 0,
18  AXIS_Y = 1,
19  AXIS_Z = 2,
20  };
21 
22  public:
24  Mix::Vector3 axis[3];
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 }}
3次元浮動小数点ベクトルクラス
Definition: Vector3.h:12
X軸
Definition: Common.h:1792
Mix::Vector3 length
XYZ軸の半分の長さ
Definition: OBB.h:25
Mix::Vector3 center
中心座標
Definition: OBB.h:23
OBBクラス
Definition: OBB.h:10
ミックス
Definition: AtomicValue.h:6
Y軸
Definition: Common.h:1793
Z軸
Definition: Common.h:1794
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38
AXIS
軸列挙定数
Definition: OBB.h:15