-
-
Notifications
You must be signed in to change notification settings - Fork 180
/
Copy pathPhysicsCollision.h
37 lines (27 loc) · 862 Bytes
/
PhysicsCollision.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Copyright (c) scott.cgi All Rights Reserved.
*
* This source code belongs to project Mojoc, which is a pure C Game Engine hosted on GitHub.
* The Mojoc Game Engine is licensed under the MIT License, and will continue to be iterated with coding passion.
*
* License : https://github.com/scottcgi/Mojoc/blob/master/LICENSE
* GitHub : https://github.com/scottcgi/Mojoc
* CodeStyle: https://github.com/scottcgi/Mojoc/blob/master/Docs/CodeStyle.md
*
* Since : 2014-7-23
* Update : 2019-1-18
* Author : scott.cgi
*/
#ifndef PHYSICS_COLLISION_H
#define PHYSICS_COLLISION_H
#include <stdbool.h>
#include "Engine/Physics/PhysicsBody.h"
/**
* Control physics collision.
*/
struct APhysicsCollision
{
bool (*TestCollision)(PhysicsBody* bodyA, PhysicsBody* bodyB);
};
extern struct APhysicsCollision APhysicsCollision[1];
#endif