Fixing camera controls.
This commit is contained in:
@ -7,10 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
#include "../../libs.h"
|
||||
#include "../../util/math.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_ROTATION(n) (n * mathDeg2Rad(45.0f))
|
||||
|
||||
#define POKER_WORLD_SEAT_POSITION_X(n) ( \
|
||||
POKER_WORLD_SEAT_DISTANCE * (float)sin(POKER_WORLD_SEAT_ROTATION(n)) \
|
||||
|
Reference in New Issue
Block a user