Lua example fix for newer osx
This commit is contained in:
parent
33c547d079
commit
7d85efbf3c
1 changed files with 2 additions and 0 deletions
|
|
@ -3,7 +3,9 @@
|
||||||
#include "example.h"
|
#include "example.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846
|
#define M_PI 3.14159265358979323846
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Move the shape to a new location */
|
/* Move the shape to a new location */
|
||||||
void Shape::move(double dx, double dy) {
|
void Shape::move(double dx, double dy) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue