DomoAriGato

This commit is contained in:
Claudel-D-Roy
2023-12-06 11:16:30 -05:00
parent 0856f913d2
commit 7a7dc1fad6
2 changed files with 45 additions and 47 deletions

View File

@@ -110,13 +110,11 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
angleRemote.Normalize();
float angle = angleRemote.Dot(angleCam);
//angle *= 100;
//angle /= 57.2958;
int index = 0;
Vector3f side = angleRemote.Cross(angleCam);
//std::cout << "trying: " << trying.y << std::endl;
bool isLeft = side.y > 0;
if (angle >= 0.75 ) //Face //side positif
index = 0;