worked on android port
opengl1 -> es
This commit is contained in:
23
mapview/3D/misc/Camera.h
Normal file
23
mapview/3D/misc/Camera.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef CAMERA_H
|
||||
#define CAMERA_H
|
||||
|
||||
#include <QMatrix4x4>
|
||||
#include <QMatrix3x3>
|
||||
|
||||
class Camera {
|
||||
|
||||
QMatrix4x4 V;
|
||||
QMatrix4x4 P;
|
||||
|
||||
public:
|
||||
|
||||
Camera() {
|
||||
|
||||
}
|
||||
|
||||
QMatrix4x4 getV() const {return V;}
|
||||
QMatrix4x4 getP() const {return P;}
|
||||
|
||||
};
|
||||
|
||||
#endif // CAMERA_H
|
||||
Reference in New Issue
Block a user