public void render()
	{
		Game.updateShader(gunTransform.getTransformation(), gunTransform.getPerspectiveTransformation(), gunMaterial);
		gunMesh.draw();
		
		if((double)Time.getTime()/Time.SECOND < gunFireTime + GUN_FIRE_ANIMATIONTIME)
		{
			gunTransform.setPosition(playerCamera.getPos().add(playerCamera.getForward().normalized().mul(0.101f)));
			gunTransform.setPosition(gunTransform.getPosition().add(playerCamera.getLeft().normalized().mul(GUN_FIRE_OFFSET_X)));
			gunTransform.getPosition().setY(gunTransform.getPosition().getY() + GUN_OFFSET + GUN_FIRE_OFFSET);
			
			gunTransform.setScale(GUN_FIRE_SIZE);
			
			Game.updateShader(gunTransform.getTransformation(), gunTransform.getPerspectiveTransformation(), gunFireMaterial);
			gunMesh.draw();
		}
	}