Преглед на файлове

Zugriff auf die MAtrix einer Kamera

kolja преди 5 години
родител
ревизия
95467bc299
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 5 0
      Kamera2D.cpp
  2. 1 0
      Kamera2D.h

+ 5 - 0
Kamera2D.cpp

@@ -123,6 +123,11 @@ float Kamera2D::getZoom()
     return zoom;
 }
 
+Mat3< float > Kamera2D::getMatrix()
+{
+    return matrix;
+}
+
 Kamera2D *Kamera2D::getThis()
 {
     ref++;

+ 1 - 0
Kamera2D.h

@@ -36,6 +36,7 @@ namespace Framework
         __declspec( dllexport ) Vertex getWorldPosition();
         __declspec( dllexport ) float getRotation();
         __declspec( dllexport ) float getZoom();
+        __declspec( dllexport ) Mat3< float > getMatrix();
         __declspec( dllexport ) Kamera2D *getThis();
         __declspec( dllexport ) Kamera2D *release();
     };