Updated GeometricPrimitive (markdown)

Chuck Walbourn 2015-10-22 19:10:27 -07:00
Родитель 4e2fe2cc54
Коммит 61221aba6e
1 изменённых файлов: 2 добавлений и 1 удалений

@ -130,7 +130,8 @@ There are equivalent static methods for each of the factory methods that return
std::vector<VertexPositionNormalTexture> vertices;
std::vector<uint16_t> indices;
GeometricPrimitive::CreateBox( vertices, indices, XMFLOAT3(1.f/2.f, 2.f/2.f, 3.f/2.f));
GeometricPrimitive::CreateBox( vertices, indices,
XMFLOAT3(1.f/2.f, 2.f/2.f, 3.f/2.f) );
// Tile the texture in a 5x5 grid
for( auto it = vertices.begin(); it != vertices.end(); ++it )