TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Intersect.h
Go to the documentation of this file.
1
15
#ifndef G3D_Intersect
16
#define G3D_Intersect
17
18
#include "
G3D/platform.h
"
19
#include "
G3D/Ray.h
"
20
#include "
G3D/AABox.h
"
21
22
namespace
G3D
{
23
27
class
Intersect
{
28
public
:
29
37
static
bool
__fastcall
rayAABox
(
const
Ray
& ray,
const
AABox
& box);
38
50
static
bool
__fastcall
rayAABox
(
const
Ray
& ray,
const
AABox
& box,
float
& time);
51
};
52
53
}
54
55
#endif
__fastcall
#define __fastcall
Fast call is a register-based optimized calling convention supported only by Visual C++...
Definition:
platform.h:55
G3D::Intersect
Definition:
Intersect.h:27
G3D
Definition:
AABox.h:25
platform.h
G3D::Intersect::rayAABox
static bool __fastcall rayAABox(const Ray &ray, const AABox &box)
Returns true if the intersection of the ray and the solid box is non-empty.
Definition:
Intersect.cpp:28
AABox.h
G3D::Ray
Definition:
Ray.h:24
G3D::AABox
Definition:
AABox.h:32
Ray.h
Generated on Tue Apr 5 2016 20:13:06 for TrinityCore by
1.8.8