This commit is contained in:
aozhiwei 2023-04-01 20:23:58 +08:00
parent 203b95738e
commit ebc75c7de0

View File

@ -576,6 +576,8 @@ void MapInstance::MarkMapAreaPolys()
} else if ((poly->flags & SAMPLE_POLYFLAGS_GLASS) == SAMPLE_POLYFLAGS_GLASS) {
for (int ii = 0; ii < poly->vertCount; ++ii) {
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);