Ajout des TextureAtlas et affichage de RemotePlayer
This commit is contained in:
@@ -79,19 +79,13 @@ void RemotePlayer::Feed(const netprot::Output out) {
|
||||
|
||||
void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tran, float elapsedTime)
|
||||
{
|
||||
//
|
||||
//Vector3f playerToQuad = m_player.GetPosition() - m_position;
|
||||
//playerToQuad.Normalize();
|
||||
//Vector3f targetPosition = m_player.GetPosition() + playerToQuad * 10.0f;
|
||||
//Matrix4f rotationMatrix;
|
||||
//rotationMatrix.SetLookAt(m_position, targetPosition, Vector3f(0, 1, 0));
|
||||
//glMultMatrixf(rotationMatrix.GetInternalValues());
|
||||
|
||||
float x = GetPosition().x;
|
||||
float y = GetPosition().y;
|
||||
float z = GetPosition().z;
|
||||
float width = 1.7f;
|
||||
float height = 2.5f;
|
||||
//Pt override les collisions.. a ce point la je sais pas quoi faire
|
||||
float width = 1.f;
|
||||
float height = 1.7f;
|
||||
|
||||
|
||||
//Matrix4 mat4 = tran.GetMatrix();
|
||||
//mat4 VP = pMatrix * vMatrix;
|
||||
|
Reference in New Issue
Block a user