Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
voxelcollision.h
1
#pragma once
2
3
#include <glm/glm.hpp>
4
5
6
class
WorldObject
;
7
class
Voxel
;
8
9
class
VoxelCollisionParticipant
10
{
11
public
:
12
VoxelCollisionParticipant
(
WorldObject
* worldObject,
Voxel
* voxel);
13
14
WorldObject
* worldObject();
15
Voxel
* voxel();
16
17
protected
:
18
WorldObject
* m_worldObject;
19
Voxel
* m_voxel;
20
};
21
22
class
VoxelCollision
23
{
24
public
:
25
VoxelCollision
(
const
VoxelCollisionParticipant
& a,
const
VoxelCollisionParticipant
& b);
26
27
VoxelCollisionParticipant
& a();
28
VoxelCollisionParticipant
& b();
29
30
protected
:
31
VoxelCollisionParticipant
m_a, m_b;
32
};
33
WorldObject
Definition:
worldobject.h:43
VoxelCollisionParticipant
Definition:
voxelcollision.h:9
Voxel
Definition:
voxel.h:15
VoxelCollision
Definition:
voxelcollision.h:22
src
collision
voxelcollision.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6