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

ランタイム

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

- File List
- File Members

Sphere.h
Go to the documentation of this file.
1 #pragma once
2
5
6 namespace Mix{ namespace Geometry{
7
8 class AABB;
9
12 class _MIX_DLL_API Sphere
13 {
14 public:
15 Mix::Vector3 center;
16 Float32 radius;
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 }}
Mix::Vector3
3次元浮動小数点ベクトルクラス
Definition: Vector3.h:12
Mix::Geometry::AABB
AABBクラス
Definition: AABB.h:12
Mix::Geometry::Sphere
球クラス
Definition: Sphere.h:12
Mix::Geometry::Sphere::radius
Float32 radius
半径
Definition: Sphere.h:16
Mix
ミックス
Definition: AtomicValue.h:6
Float32
float Float32
32ビット浮動小数点
Definition: Common.h:83
Mix::Geometry::Sphere::center
Mix::Vector3 center
中心座標
Definition: Sphere.h:15
_MIX_DLL_API
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38