ランタイム
Sphere.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace Mix{ namespace Geometry{
7 
8  class AABB;
9 
13  {
14  public:
17 
18  public:
20  Sphere( void );
26  Sphere( Float32 cx, Float32 cy, Float32 cz, Float32 r );
30  Sphere( const Mix::Vector3& c, Float32 r );
33  Sphere( const Mix::Geometry::AABB& aabb );
34 
35  public:
40  Mix::Geometry::Sphere& operator = ( const Mix::Geometry::AABB& aabb );
41 
45  Mix::Geometry::Sphere& operator += ( const Mix::Geometry::Sphere& sphere );
49  Mix::Geometry::Sphere& operator += ( const Mix::Geometry::AABB& aabb );
50 
54  Mix::Geometry::Sphere operator + ( const Mix::Geometry::Sphere& sphere ) const;
58  Mix::Geometry::Sphere operator + ( const Mix::Geometry::AABB& aabb ) const;
59  };
60 
61 }}
3次元浮動小数点ベクトルクラス
Definition: Vector3.h:12
AABBクラス
Definition: AABB.h:12
球クラス
Definition: Sphere.h:12
Float32 radius
半径
Definition: Sphere.h:16
ミックス
Definition: AtomicValue.h:6
float Float32
32ビット浮動小数点
Definition: Common.h:83
Mix::Vector3 center
中心座標
Definition: Sphere.h:15
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38