X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel.hpp;h=938fd4453d6f700d51391509ab07a97b305a1676;hb=ea1ce7b0fb7709ae56977480821ac96a231a0686;hp=c0bda4112fe052231340dbcd3a30ce7857e4c3df;hpb=d18be10ef3f0a7b61c6f5c4c4096ca2b776c75b3;p=blank.git diff --git a/src/model.hpp b/src/model.hpp index c0bda41..938fd44 100644 --- a/src/model.hpp +++ b/src/model.hpp @@ -18,8 +18,10 @@ public: void Move(glm::vec3 delta) { position += delta; } // all angles in radians (full circle = 2π) + float Pitch() const { return pitch; } void Pitch(float p) { pitch = p; } void RotatePitch(float delta) { pitch += delta; } + float Yaw() const { return yaw; } void Yaw(float y) { yaw = y; } void RotateYaw(float delta) { yaw += delta; }