Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
CollisionVisualization
CollisionVisualizationRenderableFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
6
#include "Types.h"
7
#include "Collision.h"
8
#include "Rendering.h"
9
#include "CollisionVisualization.h"
10
#include "VectorMath.h"
11
12
13
#include <vector>
14
#include <string>
15
16
namespace
Eegeo
17
{
18
namespace
CollisionVisualization
19
{
20
class
CollisionVisualizationRenderableFactory
:
public
Eegeo::NonCopyable
21
{
22
public
:
23
CollisionVisualizationRenderableFactory
(
24
CollisionVisualizationMaterial
& material,
25
Rendering::MeshFactories::PositionMeshFactory
& positionMeshFactory,
26
Rendering::VertexLayouts::VertexBindingPool
& vertexBindingPool
27
);
28
29
virtual
~
CollisionVisualizationRenderableFactory
();
30
31
virtual
CollisionVisualizationRenderable
* CreateFromSubMesh(
const
Collision::CollisionSubMesh
& collisionSubMesh,
const
v4
& color);
32
private
:
33
CollisionVisualizationMaterial
& m_material;
34
Rendering::MeshFactories::PositionMeshFactory
& m_positionMeshFactory;
35
Rendering::VertexLayouts::VertexBindingPool
& m_vertexBindingPool;
36
};
37
}
38
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1