pleurer en rotation

This commit is contained in:
Claudel-D-Roy
2023-11-18 14:16:24 -05:00
parent dc0d2d8148
commit 82cfc2d1b1
5 changed files with 47 additions and 16 deletions

View File

@@ -7,6 +7,9 @@
#include "shader.h"
#include "texture.h"
#include "openglcontext.h"
#include "vertexbuffer.h"
#include "texture.h"
#include "../SQCSim-common/matrix4.h"
class RemotePlayer : public Player {
public:
@@ -18,7 +21,7 @@ public:
void Init();
void Feed(const netprot::Output out);
void Render(TextureAtlas& atlas, Shader& shader, float elapsedTime);
void Render(TextureAtlas& atlas, Shader& shader, float elapsedTime, Player m_player);
bool LoadTexture(Texture& texture, const std::string& filename, bool useMipmaps, bool stopOnError);
private:
@@ -29,6 +32,8 @@ private:
Anim m_animstate;
uint64_t m_team_id;
Texture m_texture_front;
};