Added Eigen, replacing ZMath
This commit is contained in:
1 parent
9bfe2bef89
commit
144978bfa2
20 files changed
+167
-936
No files matched your search
+6
-6
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
#include "utils/ZLMath.h"
|
||||
#ifdef __linux__
|
||||
#include <SDL2/SDL.h>
|
||||
#endif
|
||||
#include "render/OpenGlExtensions.h"
|
||||
#include <Eigen/Dense>
|
||||
|
||||
namespace ZL {
|
||||
|
||||
@@ -21,8 +21,8 @@ public:
|
||||
|
||||
static bool settings_inverseVertical;
|
||||
|
||||
static Matrix3f shipMatrix;
|
||||
static Matrix3f inverseShipMatrix;
|
||||
static Eigen::Matrix3f shipMatrix;
|
||||
static Eigen::Matrix3f inverseShipMatrix;
|
||||
|
||||
static SDL_Window* window;
|
||||
|
||||
@@ -31,10 +31,10 @@ public:
|
||||
|
||||
|
||||
static bool tapDownHold;
|
||||
static Vector2f tapDownStartPos;
|
||||
static Vector2f tapDownCurrentPos;
|
||||
static Eigen::Vector2f tapDownStartPos;
|
||||
static Eigen::Vector2f tapDownCurrentPos;
|
||||
|
||||
static Vector3f shipPosition;
|
||||
static Eigen::Vector3f shipPosition;
|
||||
static float shipVelocity;
|
||||
|
||||
static const float CONST_Z_NEAR;
|
||||
|
||||
Reference in new issue
Block a user