Improved rendering

This commit is contained in:
2021-05-22 14:21:49 -07:00
parent d84e760c34
commit 98814982de
2 changed files with 13 additions and 8 deletions

View File

@ -10,11 +10,11 @@
void pokerLookAtPlayer(camera_t *camera, uint8_t seat) {
float x, z, angle;
angle = POKER_SEAT_ANGLE(seat);
x = sin(angle);
z = cos(angle);
x = sin(angle) * 0.8;
z = cos(angle) * 0.8;
cameraLookAt(camera,
x, 0.2, z,
-x, 0.2, -z
x, 0.3, z,
-x, 0.3, -z
);
}