DomoAriGato
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user