summaryrefslogtreecommitdiff
path: root/game/vehicles/vehicle.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-03 00:08:47 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-03 00:08:47 +0000
commit94311f9c4e82b7475802b1934cc0c5b243e0cd2f (patch)
tree5ef23f6c1151917eb723b67c262da0168e42343c /game/vehicles/vehicle.h
parentOur own matrix rotations (diff)
downloadilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.tar.bz2
ilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.tar.xz
ilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.zip
Replace Transform with Location
Simpler, unbinds the transformation matrices for location, now done just in the shader.
Diffstat (limited to 'game/vehicles/vehicle.h')
-rw-r--r--game/vehicles/vehicle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h
index 228f15a..a511d3c 100644
--- a/game/vehicles/vehicle.h
+++ b/game/vehicles/vehicle.h
@@ -1,10 +1,10 @@
#ifndef VEHICLE_H
#define VEHICLE_H
-#include "gfx/gl/transform.h"
#include <game/network/link.h>
#include <game/worldobject.h>
#include <gfx/renderable.h>
+#include <location.hpp>
#include <memory>
#include <utility>
#include <vector>
@@ -28,7 +28,7 @@ public:
float linkDist; // distance long current link
float speed {50}; // speed in m/s (~75 km/h)
- Transform location;
+ Location location;
protected:
LinkHistory linkHist;