mirror of https://github.com/skeeto/pixelcity.git
Building.cpp CreateSimple vertex issue
quadstrip has 11 indexes to vertexes, but only 10 vertexes are added
This commit is contained in:
parent
ea90760535
commit
8e0a90a34c
|
@ -584,7 +584,7 @@ void CBuilding::CreateSimple ()
|
||||||
float cap_height;
|
float cap_height;
|
||||||
float ledge;
|
float ledge;
|
||||||
|
|
||||||
for(int i=0; i<=10; i++)
|
for(int i=0; i<10; i++)
|
||||||
qs.index_list.push_back(i);
|
qs.index_list.push_back(i);
|
||||||
|
|
||||||
//How tall the flat-color roof is
|
//How tall the flat-color roof is
|
||||||
|
|
Loading…
Reference in New Issue