AmbientOcclusion
Direction.h
Go to the documentation of this file.
1 #ifndef DIRECTION_H
2 #define DIRECTION_H
3 
4 #include "QMatrix4x4"
5 #include "QVector3D"
6 #include <vector>
7 
8 class Direction
9 {
10 public:
11  Direction(QVector3D vector);
12 
17  QVector3D get();
18 
24  QMatrix4x4 getViewMatrix(float distance);
25 
27  static void calculateDirections(std::vector<Direction> *directions, int numDirections);
28 
29 private :
33  QVector3D vector;
34 };
35 
36 #endif // DIRECTION_H
static void calculateDirections(std::vector< Direction > *directions, int numDirections)
Definition: Direction.cpp:27
QMatrix4x4 getViewMatrix(float distance)
getViewMatrix
Definition: Direction.cpp:16
Direction(QVector3D vector)
Definition: Direction.cpp:6
Definition: Direction.h:8