]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/camera.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / render / camera.h
index cb9b4ce19423e36cdf126303a6e0b197eeb2ff69..c713f7e49608c500f572be8e28b853cfdabca050 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GL_CAMERA_H_
 
 #include <msp/datafile/objectloader.h>
+#include "camera_backend.h"
 #include "placeable.h"
 #include "programdata.h"
 
@@ -22,7 +23,7 @@ YZ plane of eye space is aligned to the plane formed by the look and up
 directions.  Setting the up direction to the opposite of gravity direction is
 an easy way to keep the camera upright.
 */
-class Camera: public Placeable
+class Camera: public CameraBackend, public Placeable
 {
 public:
        class Loader: public DataFile::ObjectLoader<Camera>