Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Collision
RayMeshIntersectionResult.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Collision.h"
6
7
namespace
Eegeo
8
{
9
namespace
Collision
10
{
11
struct
RayMeshIntersectionResult
12
{
13
RayMeshIntersectionResult
(
int
triListOffset,
double
intersectionParam)
14
: m_triListOffset(triListOffset)
15
, m_intersectionParam(intersectionParam)
16
{}
17
18
bool
Intersects()
const
{
return
m_triListOffset >= 0; }
19
int
TriListOffset()
const
{
return
m_triListOffset; }
20
double
IntersectionParam()
const
{
return
m_intersectionParam; }
21
private
:
22
int
m_triListOffset;
23
double
m_intersectionParam;
24
};
25
}
26
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1