1
This commit is contained in:
parent
203b95738e
commit
ebc75c7de0
@ -576,6 +576,8 @@ void MapInstance::MarkMapAreaPolys()
|
|||||||
} else if ((poly->flags & SAMPLE_POLYFLAGS_GLASS) == SAMPLE_POLYFLAGS_GLASS) {
|
} else if ((poly->flags & SAMPLE_POLYFLAGS_GLASS) == SAMPLE_POLYFLAGS_GLASS) {
|
||||||
for (int ii = 0; ii < poly->vertCount; ++ii) {
|
for (int ii = 0; ii < poly->vertCount; ++ii) {
|
||||||
const float* vc = &tile->verts[poly->verts[ii]*3];
|
const float* vc = &tile->verts[poly->verts[ii]*3];
|
||||||
|
grass_pos_hash_.push_back
|
||||||
|
(glm::vec3(vc[0], vc[1], vc[2]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
poly_ext_datas_.push_back(ext_flag);
|
poly_ext_datas_.push_back(ext_flag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user