Trying to put it all together.

This commit is contained in:
2021-08-24 08:54:27 -07:00
parent d9f11c764e
commit c198cd9908
18 changed files with 201 additions and 32 deletions

View File

@ -9,6 +9,17 @@
#include "../../libs.h"
#include "../../display/primitive.h"
#define POKER_WORLD_SEAT_DISTANCE -1
#define POKER_WORLD_SEAT_ROTATION(n) ((8 - n) * 0.785398)
#define POKER_WORLD_SEAT_POSITION_X(n) ( \
POKER_WORLD_SEAT_DISTANCE * (float)sin(POKER_WORLD_SEAT_ROTATION(n)) \
)
#define POKER_WORLD_SEAT_POSITION_Y -0.2f
#define POKER_WORLD_SEAT_POSITION_Z(n) ( \
POKER_WORLD_SEAT_DISTANCE * (float)cos(POKER_WORLD_SEAT_ROTATION(n)) \
)
typedef struct {
primitive_t skywall;
} pokerworld_t;