moved LTexture to a different .cpp and .h