Fixes d3d_model_cylinder
I did not realize how badly I fuxd this function with my model batcher all
basic shapes should be good again with the proper culling, but still no
normals.
Added normals to d3d_model_cylinder()
Added normals for d3d_model_cone()
Fixes walls/floors normals, they are now properly computed for slanting
and rotation.
Accidentally duplicated the function d3d_set_perspective()
Added normals for ellipsoids.
Added normals for all basic draw_ shapes.
Ellipsoid function is wierd, had to invert the normals.
Added normals for the torus function.
Cleaned up torus function and fixed texture issue.
Whoops wasn't taking horizontal and vertical texture repitition for torus
into account.
Implemented part of the icosahedron function it still needs normals, uv's,
and subdivision.
Switches icosahedron to generic data types and scalar.
Merge pull request #423 from RobertBColton/master

Basic Shapes Improvements