mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
2D3D:: eye level
This commit is contained in:
1 parent
5d7a01febe
commit
01763d4f12
5 files changed
+28
-2
No files matched your search
+3
-1
@@ -736,7 +736,9 @@ void geometry_information::adjust_eye(hpcshape& eye, hpcshape head, ld shift_eye
|
||||
qtyall++;
|
||||
}
|
||||
|
||||
if(&eye == &shSkullEyes) pos = zc(eyepos) - 0.06 * SH * 0.05;
|
||||
if(&eye == &shSkullEyes) cgi.eyelevel_human = pos = zc(eyepos) - 0.06 * SH * 0.05;
|
||||
if(&eye == &shWolf1) cgi.eyelevel_dog = pos;
|
||||
if(&eye == &shFamiliarEye) cgi.eyelevel_familiar = pos;
|
||||
|
||||
make_ball(eye, rad, 0);
|
||||
transmatrix T = zpush(-shift_eye) * rgpushxto0(center) * zpush(pos);
|
||||
|
||||
Reference in new issue
Block a user