ALL: Eliminate LOCAL_PI macro
This commit is contained in:
parent
ada0dd648c
commit
27e12d8a96
22 changed files with 35 additions and 45 deletions
|
@ -129,7 +129,7 @@ void glopRotate(GLContext *c, GLParam *p) {
|
|||
float angle;
|
||||
int dir_code;
|
||||
|
||||
angle = (float)(p[1].f * LOCAL_PI / 180.0);
|
||||
angle = (float)(p[1].f * (float)M_PI / 180.0);
|
||||
u[0] = p[2].f;
|
||||
u[1] = p[3].f;
|
||||
u[2] = p[4].f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue