D3d model create

Explanation
When drawing complicated models it is very slow to call all the drawing functions every step. To speed it up you can use models. Once a model is created it can be drawn with one function.

One limitation of models is that only one texture can be used. If more than one texture is needed then seperate models must be used, or the textures can be combined and the texture coordinates can be carefully used to show only a portion of the texture.