doubled texture for the second eye

This commit is contained in:
Zeno Rogue 2019-06-28 09:50:13 +02:00
parent 22b8a88e07
commit b260cbb91f
1 changed files with 5 additions and 1 deletions

View File

@ -753,7 +753,11 @@ void geometry_information::adjust_eye(hpcshape& eye, hpcshape head, ld shift_eye
if(&eye == &shSkullEyes)
for(int i=eye.s; i<s; i++) hpc[i] = xpush(0.07 * scalefactor) * hpc[i];
if(q == 2)
for(int i=eye.s; i<s; i++) hpcpush(MirrorY * hpc[i]);
for(int i=eye.s; i<s; i++) {
hpcpush(MirrorY * hpc[i]);
auto& utt = models_texture;
utt.tvertices.push_back(utt.tvertices[i - eye.s + eye.texture_offset]);
}
finishshape();
// eye.prio = PPR::SUPERLINE;