Skip to content

Commit a1e7d84

Browse files
committed
doc/tee_rendering: Fix eye positions
1 parent 5080a69 commit a1e7d84

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

doc/tee_rendering.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,15 @@ Then, the images must be positioned like the following (hands or moving feet
3535
not handled), relative to 64/64 or 1 being the edge length of the body
3636
segment).
3737

38-
body: 4/64 up
38+
body:
39+
x: 4/64 up
3940
feet:
40-
10/64 down
41-
7/64 left/right
41+
x: 7/64 left/right
42+
y: 10/64 down
4243
eyes:
43-
0.125 up
44-
0.05 left/right
45-
46-
eye movement:
4744
dir = angle of eyes (view angle), right = 0
48-
eyes:
49-
x: cos(dir) * 0.125
50-
y: sin(dir) * 0.1
51-
each eye (away from the other):
52-
x: abs(cos(dir)) * 0.01
45+
eyes_center:
46+
x: cos(dir) * 0.125 right
47+
y: body.y and then sin(dir) * 0.1 down
48+
eyes_offset:
49+
x: 0.075 - cos(dir) * 0.01 left/right

0 commit comments

Comments
 (0)