In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:289:18: error: redefinition of 'pthread_t physicsThreadId'
static pthread_t physicsThreadId; // Physics thread id
^
In file included from main.cpp:6:0:
physac.h:289:18: note: 'pthread_t physicsThreadId' previously declared here
static pthread_t physicsThreadId; // Physics thread id
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:291:21: error: redefinition of 'unsigned int usedMemory'
static unsigned int usedMemory = 0; // Total allocated dynamic memory
^
In file included from main.cpp:6:0:
physac.h:291:21: note: 'unsigned int usedMemory' previously defined here
static unsigned int usedMemory = 0; // Total allocated dynamic memory
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:292:13: error: redefinition of 'bool physicsThreadEnabled'
static bool physicsThreadEnabled = false; // Physics thread enabled state
^
In file included from main.cpp:6:0:
physac.h:292:13: note: 'bool physicsThreadEnabled' previously defined here
static bool physicsThreadEnabled = false; // Physics thread enabled state
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:293:15: error: redefinition of 'double baseTime'
static double baseTime = 0.0; // Offset time for MONOTONIC clock
^
In file included from main.cpp:6:0:
physac.h:293:15: note: 'double baseTime' previously defined here
static double baseTime = 0.0; // Offset time for MONOTONIC clock
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:294:15: error: redefinition of 'double startTime'
static double startTime = 0.0; // Start time in milliseconds
^
In file included from main.cpp:6:0:
physac.h:294:15: note: 'double startTime' previously defined here
static double startTime = 0.0; // Start time in milliseconds
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:295:15: error: redefinition of 'double deltaTime'
static double deltaTime = 1.0/60.0/10.0 * 1000; // Delta time used for physics steps, in milliseconds
^
In file included from main.cpp:6:0:
physac.h:295:15: note: 'double deltaTime' previously defined here
static double deltaTime = 1.0/60.0/10.0 * 1000; // Delta time used for physics steps, in milliseconds
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:296:15: error: redefinition of 'double currentTime'
static double currentTime = 0.0; // Current time in milliseconds
^
In file included from main.cpp:6:0:
physac.h:296:15: note: 'double currentTime' previously defined here
static double currentTime = 0.0; // Current time in milliseconds
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:297:17: error: redefinition of 'uint64_t frequency'
static uint64_t frequency = 0; // Hi-res clock frequency
^
In file included from main.cpp:6:0:
physac.h:297:17: note: 'uint64_t frequency' previously defined here
static uint64_t frequency = 0; // Hi-res clock frequency
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:299:15: error: redefinition of 'double accumulator'
static double accumulator = 0.0; // Physics time step delta time accumulator
^
In file included from main.cpp:6:0:
physac.h:299:15: note: 'double accumulator' previously defined here
static double accumulator = 0.0; // Physics time step delta time accumulator
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:300:21: error: redefinition of 'unsigned int stepsCount'
static unsigned int stepsCount = 0; // Total physics steps processed
^
In file included from main.cpp:6:0:
physac.h:300:21: note: 'unsigned int stepsCount' previously defined here
static unsigned int stepsCount = 0; // Total physics steps processed
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:301:16: error: redefinition of 'Vector2 gravityForce'
static Vector2 gravityForce = { 0.0f, 9.81f }; // Physics world gravity force
^
In file included from main.cpp:6:0:
physac.h:301:16: note: 'Vector2 gravityForce' previously defined here
static Vector2 gravityForce = { 0.0f, 9.81f }; // Physics world gravity force
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:302:44: error: redefinition of 'PhysicsBodyData* bodies [64]'
static PhysicsBody bodies[PHYSAC_MAX_BODIES]; // Physics bodies pointers array
^
In file included from main.cpp:6:0:
physac.h:302:20: note: 'PhysicsBodyData* bodies [64]' previously declared here
static PhysicsBody bodies[PHYSAC_MAX_BODIES]; // Physics bodies pointers array
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:303:21: error: redefinition of 'unsigned int physicsBodiesCount'
static unsigned int physicsBodiesCount = 0; // Physics world current bodies counter
^
In file included from main.cpp:6:0:
physac.h:303:21: note: 'unsigned int physicsBodiesCount' previously defined here
static unsigned int physicsBodiesCount = 0; // Physics world current bodies counter
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:304:53: error: redefinition of 'PhysicsManifoldData* contacts [4096]'
static PhysicsManifold contacts[PHYSAC_MAX_MANIFOLDS]; // Physics bodies pointers array
^
In file included from main.cpp:6:0:
physac.h:304:24: note: 'PhysicsManifoldData* contacts [4096]' previously declared here
static PhysicsManifold contacts[PHYSAC_MAX_MANIFOLDS]; // Physics bodies pointers array
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h:305:21: error: redefinition of 'unsigned int physicsManifoldsCount'
static unsigned int physicsManifoldsCount = 0; // Physics world current manifolds counter
^
In file included from main.cpp:6:0:
physac.h:305:21: note: 'unsigned int physicsManifoldsCount' previously defined here
static unsigned int physicsManifoldsCount = 0; // Physics world current manifolds counter
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void InitPhysics()':
Scenes/../physac.h:360:16: error: redefinition of 'void InitPhysics()'
PHYSACDEF void InitPhysics(void)
^
In file included from main.cpp:6:0:
physac.h:360:16: note: 'void InitPhysics()' previously defined here
PHYSACDEF void InitPhysics(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'bool IsPhysicsEnabled()':
Scenes/../physac.h:379:16: error: redefinition of 'bool IsPhysicsEnabled()'
PHYSACDEF bool IsPhysicsEnabled(void)
^
In file included from main.cpp:6:0:
physac.h:379:16: note: 'bool IsPhysicsEnabled()' previously defined here
PHYSACDEF bool IsPhysicsEnabled(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SetPhysicsGravity(float, float)':
Scenes/../physac.h:385:16: error: redefinition of 'void SetPhysicsGravity(float, float)'
PHYSACDEF void SetPhysicsGravity(float x, float y)
^
In file included from main.cpp:6:0:
physac.h:385:16: note: 'void SetPhysicsGravity(float, float)' previously defined here
PHYSACDEF void SetPhysicsGravity(float x, float y)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PhysicsBodyData* CreatePhysicsBodyCircle(Vector2, float, float)':
Scenes/../physac.h:392:23: error: redefinition of 'PhysicsBodyData* CreatePhysicsBodyCircle(Vector2, float, float)'
PHYSACDEF PhysicsBody CreatePhysicsBodyCircle(Vector2 pos, float radius, float density)
^
In file included from main.cpp:6:0:
physac.h:392:23: note: 'PhysicsBodyData* CreatePhysicsBodyCircle(Vector2, float, float)' previously defined here
PHYSACDEF PhysicsBody CreatePhysicsBodyCircle(Vector2 pos, float radius, float density)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PhysicsBodyData* CreatePhysicsBodyRectangle(Vector2, float, float, float)':
Scenes/../physac.h:443:23: error: redefinition of 'PhysicsBodyData* CreatePhysicsBodyRectangle(Vector2, float, float, float)'
PHYSACDEF PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float height, float density)
^
In file included from main.cpp:6:0:
physac.h:443:23: note: 'PhysicsBodyData* CreatePhysicsBodyRectangle(Vector2, float, float, float)' previously defined here
PHYSACDEF PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float height, float density)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PhysicsBodyData* CreatePhysicsBodyPolygon(Vector2, float, int, float)':
Scenes/../physac.h:531:23: error: redefinition of 'PhysicsBodyData* CreatePhysicsBodyPolygon(Vector2, float, int, float)'
PHYSACDEF PhysicsBody CreatePhysicsBodyPolygon(Vector2 pos, float radius, int sides, float density)
^
In file included from main.cpp:6:0:
physac.h:531:23: note: 'PhysicsBodyData* CreatePhysicsBodyPolygon(Vector2, float, int, float)' previously defined here
PHYSACDEF PhysicsBody CreatePhysicsBodyPolygon(Vector2 pos, float radius, int sides, float density)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void PhysicsAddForce(PhysicsBody, Vector2)':
Scenes/../physac.h:618:16: error: redefinition of 'void PhysicsAddForce(PhysicsBody, Vector2)'
PHYSACDEF void PhysicsAddForce(PhysicsBody body, Vector2 force)
^
In file included from main.cpp:6:0:
physac.h:618:16: note: 'void PhysicsAddForce(PhysicsBody, Vector2)' previously defined here
PHYSACDEF void PhysicsAddForce(PhysicsBody body, Vector2 force)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void PhysicsAddTorque(PhysicsBody, float)':
Scenes/../physac.h:625:16: error: redefinition of 'void PhysicsAddTorque(PhysicsBody, float)'
PHYSACDEF void PhysicsAddTorque(PhysicsBody body, float amount)
^
In file included from main.cpp:6:0:
physac.h:625:16: note: 'void PhysicsAddTorque(PhysicsBody, float)' previously defined here
PHYSACDEF void PhysicsAddTorque(PhysicsBody body, float amount)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void PhysicsShatter(PhysicsBody, Vector2, float)':
Scenes/../physac.h:632:16: error: redefinition of 'void PhysicsShatter(PhysicsBody, Vector2, float)'
PHYSACDEF void PhysicsShatter(PhysicsBody body, Vector2 position, float force)
^
In file included from main.cpp:6:0:
physac.h:632:16: note: 'void PhysicsShatter(PhysicsBody, Vector2, float)' previously defined here
PHYSACDEF void PhysicsShatter(PhysicsBody body, Vector2 position, float force)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int GetPhysicsBodiesCount()':
Scenes/../physac.h:774:15: error: redefinition of 'int GetPhysicsBodiesCount()'
PHYSACDEF int GetPhysicsBodiesCount(void)
^
In file included from main.cpp:6:0:
physac.h:774:15: note: 'int GetPhysicsBodiesCount()' previously defined here
PHYSACDEF int GetPhysicsBodiesCount(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PhysicsBodyData* GetPhysicsBody(int)':
Scenes/../physac.h:780:23: error: redefinition of 'PhysicsBodyData* GetPhysicsBody(int)'
PHYSACDEF PhysicsBody GetPhysicsBody(int index)
^
In file included from main.cpp:6:0:
physac.h:780:23: note: 'PhysicsBodyData* GetPhysicsBody(int)' previously defined here
PHYSACDEF PhysicsBody GetPhysicsBody(int index)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int GetPhysicsShapeType(int)':
Scenes/../physac.h:800:15: error: redefinition of 'int GetPhysicsShapeType(int)'
PHYSACDEF int GetPhysicsShapeType(int index)
^
In file included from main.cpp:6:0:
physac.h:800:15: note: 'int GetPhysicsShapeType(int)' previously defined here
PHYSACDEF int GetPhysicsShapeType(int index)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int GetPhysicsShapeVerticesCount(int)':
Scenes/../physac.h:823:15: error: redefinition of 'int GetPhysicsShapeVerticesCount(int)'
PHYSACDEF int GetPhysicsShapeVerticesCount(int index)
^
In file included from main.cpp:6:0:
physac.h:823:15: note: 'int GetPhysicsShapeVerticesCount(int)' previously defined here
PHYSACDEF int GetPhysicsShapeVerticesCount(int index)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 GetPhysicsShapeVertex(PhysicsBody, int)':
Scenes/../physac.h:852:19: error: redefinition of 'Vector2 GetPhysicsShapeVertex(PhysicsBody, int)'
PHYSACDEF Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex)
^
In file included from main.cpp:6:0:
physac.h:852:19: note: 'Vector2 GetPhysicsShapeVertex(PhysicsBody, int)' previously defined here
PHYSACDEF Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SetPhysicsBodyRotation(PhysicsBody, float)':
Scenes/../physac.h:882:16: error: redefinition of 'void SetPhysicsBodyRotation(PhysicsBody, float)'
PHYSACDEF void SetPhysicsBodyRotation(PhysicsBody body, float radians)
^
In file included from main.cpp:6:0:
physac.h:882:16: note: 'void SetPhysicsBodyRotation(PhysicsBody, float)' previously defined here
PHYSACDEF void SetPhysicsBodyRotation(PhysicsBody body, float radians)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void DestroyPhysicsBody(PhysicsBody)':
Scenes/../physac.h:894:16: error: redefinition of 'void DestroyPhysicsBody(PhysicsBody)'
PHYSACDEF void DestroyPhysicsBody(PhysicsBody body)
^
In file included from main.cpp:6:0:
physac.h:894:16: note: 'void DestroyPhysicsBody(PhysicsBody)' previously defined here
PHYSACDEF void DestroyPhysicsBody(PhysicsBody body)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void ClosePhysics()':
Scenes/../physac.h:944:16: error: redefinition of 'void ClosePhysics()'
PHYSACDEF void ClosePhysics(void)
^
In file included from main.cpp:6:0:
physac.h:944:16: note: 'void ClosePhysics()' previously defined here
PHYSACDEF void ClosePhysics(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int FindAvailableBodyIndex()':
Scenes/../physac.h:975:12: error: redefinition of 'int FindAvailableBodyIndex()'
static int FindAvailableBodyIndex()
^
In file included from main.cpp:6:0:
physac.h:975:12: note: 'int FindAvailableBodyIndex()' previously defined here
static int FindAvailableBodyIndex()
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PolygonData CreateRandomPolygon(float, int)':
Scenes/../physac.h:1004:20: error: redefinition of 'PolygonData CreateRandomPolygon(float, int)'
static PolygonData CreateRandomPolygon(float radius, int sides)
^
In file included from main.cpp:6:0:
physac.h:1004:20: note: 'PolygonData CreateRandomPolygon(float, int)' previously defined here
static PolygonData CreateRandomPolygon(float radius, int sides)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PolygonData CreateRectanglePolygon(Vector2, Vector2)':
Scenes/../physac.h:1030:20: error: redefinition of 'PolygonData CreateRectanglePolygon(Vector2, Vector2)'
static PolygonData CreateRectanglePolygon(Vector2 pos, Vector2 size)
^
In file included from main.cpp:6:0:
physac.h:1030:20: note: 'PolygonData CreateRectanglePolygon(Vector2, Vector2)' previously defined here
static PolygonData CreateRectanglePolygon(Vector2 pos, Vector2 size)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void* PhysicsLoop(void*)':
Scenes/../physac.h:1055:14: error: redefinition of 'void* PhysicsLoop(void*)'
static void *PhysicsLoop(void *arg)
^
In file included from main.cpp:6:0:
physac.h:1055:14: note: 'void* PhysicsLoop(void*)' previously defined here
static void *PhysicsLoop(void *arg)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void PhysicsStep()':
Scenes/../physac.h:1074:13: error: redefinition of 'void PhysicsStep()'
static void PhysicsStep(void)
^
In file included from main.cpp:6:0:
physac.h:1074:13: note: 'void PhysicsStep()' previously defined here
static void PhysicsStep(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void RunPhysicsStep()':
Scenes/../physac.h:1194:16: error: redefinition of 'void RunPhysicsStep()'
PHYSACDEF void RunPhysicsStep(void)
^
In file included from main.cpp:6:0:
physac.h:1194:16: note: 'void RunPhysicsStep()' previously defined here
PHYSACDEF void RunPhysicsStep(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SetPhysicsTimeStep(double)':
Scenes/../physac.h:1216:16: error: redefinition of 'void SetPhysicsTimeStep(double)'
PHYSACDEF void SetPhysicsTimeStep(double delta)
^
In file included from main.cpp:6:0:
physac.h:1216:16: note: 'void SetPhysicsTimeStep(double)' previously defined here
PHYSACDEF void SetPhysicsTimeStep(double delta)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int FindAvailableManifoldIndex()':
Scenes/../physac.h:1222:12: error: redefinition of 'int FindAvailableManifoldIndex()'
static int FindAvailableManifoldIndex()
^
In file included from main.cpp:6:0:
physac.h:1222:12: note: 'int FindAvailableManifoldIndex()' previously defined here
static int FindAvailableManifoldIndex()
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'PhysicsManifoldData* CreatePhysicsManifold(PhysicsBody, PhysicsBody)':
Scenes/../physac.h:1251:24: error: redefinition of 'PhysicsManifoldData* CreatePhysicsManifold(PhysicsBody, PhysicsBody)'
static PhysicsManifold CreatePhysicsManifold(PhysicsBody a, PhysicsBody b)
^
In file included from main.cpp:6:0:
physac.h:1251:24: note: 'PhysicsManifoldData* CreatePhysicsManifold(PhysicsBody, PhysicsBody)' previously defined here
static PhysicsManifold CreatePhysicsManifold(PhysicsBody a, PhysicsBody b)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void DestroyPhysicsManifold(PhysicsManifold)':
Scenes/../physac.h:1285:13: error: redefinition of 'void DestroyPhysicsManifold(PhysicsManifold)'
static void DestroyPhysicsManifold(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1285:13: note: 'void DestroyPhysicsManifold(PhysicsManifold)' previously defined here
static void DestroyPhysicsManifold(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolvePhysicsManifold(PhysicsManifold)':
Scenes/../physac.h:1331:13: error: redefinition of 'void SolvePhysicsManifold(PhysicsManifold)'
static void SolvePhysicsManifold(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1331:13: note: 'void SolvePhysicsManifold(PhysicsManifold)' previously defined here
static void SolvePhysicsManifold(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolveCircleToCircle(PhysicsManifold)':
Scenes/../physac.h:1362:13: error: redefinition of 'void SolveCircleToCircle(PhysicsManifold)'
static void SolveCircleToCircle(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1362:13: note: 'void SolveCircleToCircle(PhysicsManifold)' previously defined here
static void SolveCircleToCircle(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolveCircleToPolygon(PhysicsManifold)':
Scenes/../physac.h:1405:13: error: redefinition of 'void SolveCircleToPolygon(PhysicsManifold)'
static void SolveCircleToPolygon(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1405:13: note: 'void SolveCircleToPolygon(PhysicsManifold)' previously defined here
static void SolveCircleToPolygon(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolvePolygonToCircle(PhysicsManifold)':
Scenes/../physac.h:1417:13: error: redefinition of 'void SolvePolygonToCircle(PhysicsManifold)'
static void SolvePolygonToCircle(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1417:13: note: 'void SolvePolygonToCircle(PhysicsManifold)' previously defined here
static void SolvePolygonToCircle(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolveDifferentShapes(PhysicsManifold, PhysicsBody, PhysicsBody)':
Scenes/../physac.h:1432:13: error: redefinition of 'void SolveDifferentShapes(PhysicsManifold, PhysicsBody, PhysicsBody)'
static void SolveDifferentShapes(PhysicsManifold manifold, PhysicsBody bodyA, PhysicsBody bodyB)
^
In file included from main.cpp:6:0:
physac.h:1432:13: note: 'void SolveDifferentShapes(PhysicsManifold, PhysicsBody, PhysicsBody)' previously defined here
static void SolveDifferentShapes(PhysicsManifold manifold, PhysicsBody bodyA, PhysicsBody bodyB)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void SolvePolygonToPolygon(PhysicsManifold)':
Scenes/../physac.h:1524:13: error: redefinition of 'void SolvePolygonToPolygon(PhysicsManifold)'
static void SolvePolygonToPolygon(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1524:13: note: 'void SolvePolygonToPolygon(PhysicsManifold)' previously defined here
static void SolvePolygonToPolygon(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void IntegratePhysicsForces(PhysicsBody)':
Scenes/../physac.h:1633:13: error: redefinition of 'void IntegratePhysicsForces(PhysicsBody)'
static void IntegratePhysicsForces(PhysicsBody body)
^
In file included from main.cpp:6:0:
physac.h:1633:13: note: 'void IntegratePhysicsForces(PhysicsBody)' previously defined here
static void IntegratePhysicsForces(PhysicsBody body)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void InitializePhysicsManifolds(PhysicsManifold)':
Scenes/../physac.h:1652:13: error: redefinition of 'void InitializePhysicsManifolds(PhysicsManifold)'
static void InitializePhysicsManifolds(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1652:13: note: 'void InitializePhysicsManifolds(PhysicsManifold)' previously defined here
static void InitializePhysicsManifolds(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void IntegratePhysicsImpulses(PhysicsManifold)':
Scenes/../physac.h:1686:13: error: redefinition of 'void IntegratePhysicsImpulses(PhysicsManifold)'
static void IntegratePhysicsImpulses(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1686:13: note: 'void IntegratePhysicsImpulses(PhysicsManifold)' previously defined here
static void IntegratePhysicsImpulses(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void IntegratePhysicsVelocity(PhysicsBody)':
Scenes/../physac.h:1798:13: error: redefinition of 'void IntegratePhysicsVelocity(PhysicsBody)'
static void IntegratePhysicsVelocity(PhysicsBody body)
^
In file included from main.cpp:6:0:
physac.h:1798:13: note: 'void IntegratePhysicsVelocity(PhysicsBody)' previously defined here
static void IntegratePhysicsVelocity(PhysicsBody body)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void CorrectPhysicsPositions(PhysicsManifold)':
Scenes/../physac.h:1815:13: error: redefinition of 'void CorrectPhysicsPositions(PhysicsManifold)'
static void CorrectPhysicsPositions(PhysicsManifold manifold)
^
In file included from main.cpp:6:0:
physac.h:1815:13: note: 'void CorrectPhysicsPositions(PhysicsManifold)' previously defined here
static void CorrectPhysicsPositions(PhysicsManifold manifold)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 GetSupport(PhysicsShape, Vector2)':
Scenes/../physac.h:1841:16: error: redefinition of 'Vector2 GetSupport(PhysicsShape, Vector2)'
static Vector2 GetSupport(PhysicsShape shape, Vector2 dir)
^
In file included from main.cpp:6:0:
physac.h:1841:16: note: 'Vector2 GetSupport(PhysicsShape, Vector2)' previously defined here
static Vector2 GetSupport(PhysicsShape shape, Vector2 dir)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'float FindAxisLeastPenetration(int*, PhysicsShape, PhysicsShape)':
Scenes/../physac.h:1863:14: error: redefinition of 'float FindAxisLeastPenetration(int*, PhysicsShape, PhysicsShape)'
static float FindAxisLeastPenetration(int *faceIndex, PhysicsShape shapeA, PhysicsShape shapeB)
^
In file included from main.cpp:6:0:
physac.h:1863:14: note: 'float FindAxisLeastPenetration(int*, PhysicsShape, PhysicsShape)' previously defined here
static float FindAxisLeastPenetration(int *faceIndex, PhysicsShape shapeA, PhysicsShape shapeB)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void FindIncidentFace(Vector2*, Vector2*, PhysicsShape, PhysicsShape, int)':
Scenes/../physac.h:1906:13: error: redefinition of 'void FindIncidentFace(Vector2*, Vector2*, PhysicsShape, PhysicsShape, int)'
static void FindIncidentFace(Vector2 *v0, Vector2 *v1, PhysicsShape ref, PhysicsShape inc, int index)
^
In file included from main.cpp:6:0:
physac.h:1906:13: note: 'void FindIncidentFace(Vector2*, Vector2*, PhysicsShape, PhysicsShape, int)' previously defined here
static void FindIncidentFace(Vector2 *v0, Vector2 *v1, PhysicsShape ref, PhysicsShape inc, int index)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'int Clip(Vector2, float, Vector2*, Vector2*)':
Scenes/../physac.h:1941:12: error: redefinition of 'int Clip(Vector2, float, Vector2*, Vector2*)'
static int Clip(Vector2 normal, float clip, Vector2 *faceA, Vector2 *faceB)
^
In file included from main.cpp:6:0:
physac.h:1941:12: note: 'int Clip(Vector2, float, Vector2*, Vector2*)' previously defined here
static int Clip(Vector2 normal, float clip, Vector2 *faceA, Vector2 *faceB)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'bool BiasGreaterThan(float, float)':
Scenes/../physac.h:1978:13: error: redefinition of 'bool BiasGreaterThan(float, float)'
static bool BiasGreaterThan(float valueA, float valueB)
^
In file included from main.cpp:6:0:
physac.h:1978:13: note: 'bool BiasGreaterThan(float, float)' previously defined here
static bool BiasGreaterThan(float valueA, float valueB)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 TriangleBarycenter(Vector2, Vector2, Vector2)':
Scenes/../physac.h:1984:16: error: redefinition of 'Vector2 TriangleBarycenter(Vector2, Vector2, Vector2)'
static Vector2 TriangleBarycenter(Vector2 v1, Vector2 v2, Vector2 v3)
^
In file included from main.cpp:6:0:
physac.h:1984:16: note: 'Vector2 TriangleBarycenter(Vector2, Vector2, Vector2)' previously defined here
static Vector2 TriangleBarycenter(Vector2 v1, Vector2 v2, Vector2 v3)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void InitTimer()':
Scenes/../physac.h:1995:13: error: redefinition of 'void InitTimer()'
static void InitTimer(void)
^
In file included from main.cpp:6:0:
physac.h:1995:13: note: 'void InitTimer()' previously defined here
static void InitTimer(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'uint64_t GetTimeCount()':
Scenes/../physac.h:2020:17: error: redefinition of 'uint64_t GetTimeCount()'
static uint64_t GetTimeCount(void)
^
In file included from main.cpp:6:0:
physac.h:2020:17: note: 'uint64_t GetTimeCount()' previously defined here
static uint64_t GetTimeCount(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'double GetCurrentTime()':
Scenes/../physac.h:2042:15: error: redefinition of 'double GetCurrentTime()'
static double GetCurrentTime(void)
^
In file included from main.cpp:6:0:
physac.h:2042:15: note: 'double GetCurrentTime()' previously defined here
static double GetCurrentTime(void)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 MathCross(float, Vector2)':
Scenes/../physac.h:2048:23: error: redefinition of 'Vector2 MathCross(float, Vector2)'
static inline Vector2 MathCross(float value, Vector2 vector)
^
In file included from main.cpp:6:0:
physac.h:2048:23: note: 'Vector2 MathCross(float, Vector2)' previously defined here
static inline Vector2 MathCross(float value, Vector2 vector)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'float MathCrossVector2(Vector2, Vector2)':
Scenes/../physac.h:2054:21: error: redefinition of 'float MathCrossVector2(Vector2, Vector2)'
static inline float MathCrossVector2(Vector2 v1, Vector2 v2)
^
In file included from main.cpp:6:0:
physac.h:2054:21: note: 'float MathCrossVector2(Vector2, Vector2)' previously defined here
static inline float MathCrossVector2(Vector2 v1, Vector2 v2)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'float MathLenSqr(Vector2)':
Scenes/../physac.h:2060:21: error: redefinition of 'float MathLenSqr(Vector2)'
static inline float MathLenSqr(Vector2 vector)
^
In file included from main.cpp:6:0:
physac.h:2060:21: note: 'float MathLenSqr(Vector2)' previously defined here
static inline float MathLenSqr(Vector2 vector)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'float MathDot(Vector2, Vector2)':
Scenes/../physac.h:2066:21: error: redefinition of 'float MathDot(Vector2, Vector2)'
static inline float MathDot(Vector2 v1, Vector2 v2)
^
In file included from main.cpp:6:0:
physac.h:2066:21: note: 'float MathDot(Vector2, Vector2)' previously defined here
static inline float MathDot(Vector2 v1, Vector2 v2)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'float DistSqr(Vector2, Vector2)':
Scenes/../physac.h:2072:21: error: redefinition of 'float DistSqr(Vector2, Vector2)'
static inline float DistSqr(Vector2 v1, Vector2 v2)
^
In file included from main.cpp:6:0:
physac.h:2072:21: note: 'float DistSqr(Vector2, Vector2)' previously defined here
static inline float DistSqr(Vector2 v1, Vector2 v2)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void MathNormalize(Vector2*)':
Scenes/../physac.h:2079:13: error: redefinition of 'void MathNormalize(Vector2*)'
static void MathNormalize(Vector2 *vector)
^
In file included from main.cpp:6:0:
physac.h:2079:13: note: 'void MathNormalize(Vector2*)' previously defined here
static void MathNormalize(Vector2 *vector)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 Vector2Add(Vector2, Vector2)':
Scenes/../physac.h:2097:23: error: redefinition of 'Vector2 Vector2Add(Vector2, Vector2)'
static inline Vector2 Vector2Add(Vector2 v1, Vector2 v2)
^
In file included from main.cpp:6:0:
physac.h:2097:23: note: 'Vector2 Vector2Add(Vector2, Vector2)' previously defined here
static inline Vector2 Vector2Add(Vector2 v1, Vector2 v2)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 Vector2Subtract(Vector2, Vector2)':
Scenes/../physac.h:2103:23: error: redefinition of 'Vector2 Vector2Subtract(Vector2, Vector2)'
static inline Vector2 Vector2Subtract(Vector2 v1, Vector2 v2)
^
In file included from main.cpp:6:0:
physac.h:2103:23: note: 'Vector2 Vector2Subtract(Vector2, Vector2)' previously defined here
static inline Vector2 Vector2Subtract(Vector2 v1, Vector2 v2)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Mat2 Mat2Radians(float)':
Scenes/../physac.h:2110:13: error: redefinition of 'Mat2 Mat2Radians(float)'
static Mat2 Mat2Radians(float radians)
^
In file included from main.cpp:6:0:
physac.h:2110:13: note: 'Mat2 Mat2Radians(float)' previously defined here
static Mat2 Mat2Radians(float radians)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'void Mat2Set(Mat2*, float)':
Scenes/../physac.h:2119:13: error: redefinition of 'void Mat2Set(Mat2*, float)'
static void Mat2Set(Mat2 *matrix, float radians)
^
In file included from main.cpp:6:0:
physac.h:2119:13: note: 'void Mat2Set(Mat2*, float)' previously defined here
static void Mat2Set(Mat2 *matrix, float radians)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Mat2 Mat2Transpose(Mat2)':
Scenes/../physac.h:2131:20: error: redefinition of 'Mat2 Mat2Transpose(Mat2)'
static inline Mat2 Mat2Transpose(Mat2 matrix)
^
In file included from main.cpp:6:0:
physac.h:2131:20: note: 'Mat2 Mat2Transpose(Mat2)' previously defined here
static inline Mat2 Mat2Transpose(Mat2 matrix)
^
In file included from Scenes/Scenes.h:4:0,
from main.cpp:8:
Scenes/../physac.h: In function 'Vector2 Mat2MultiplyVector2(Mat2, Vector2)':
Scenes/../physac.h:2137:23: error: redefinition of 'Vector2 Mat2MultiplyVector2(Mat2, Vector2)'
static inline Vector2 Mat2MultiplyVector2(Mat2 matrix, Vector2 vector)
^
In file included from main.cpp:6:0:
physac.h:2137:23: note: 'Vector2 Mat2MultiplyVector2(Mat2, Vector2)' previously defined here
static inline Vector2 Mat2MultiplyVector2(Mat2 matrix, Vector2 vector)