mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
doubled texture for the second eye
This commit is contained in:
parent
22b8a88e07
commit
b260cbb91f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user