Added some comments and fixed spaces
This commit is contained in:
parent
32508f6db1
commit
fe0cf8f9a9
5 changed files with 7 additions and 6 deletions
|
@ -1111,6 +1111,7 @@ Vector2 GetTouchPosition(void)
|
|||
return position;
|
||||
}
|
||||
|
||||
// Detect if a button has been pressed once
|
||||
bool IsButtonPressed(int button)
|
||||
{
|
||||
bool pressed = false;
|
||||
|
|
|
@ -61,7 +61,7 @@ static Vector2 Vector2Normalize(Vector2 vector);
|
|||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Definitions
|
||||
//----------------------------------------------------------------------------------
|
||||
void InitPhysics()
|
||||
void InitPhysics(void)
|
||||
{
|
||||
for (int i = 0; i < MAX_ELEMENTS; i++)
|
||||
{
|
||||
|
|
|
@ -76,7 +76,7 @@ extern "C" { // Prevents name mangling of functions
|
|||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Declarations
|
||||
//----------------------------------------------------------------------------------
|
||||
void InitPhysics(); // Initialize all internal physics values
|
||||
void InitPhysics(void); // Initialize all internal physics values
|
||||
void SetPhysics(Physics settings); // Set physics settings values using Physics data type to overwrite internal physics settings
|
||||
|
||||
void AddRigidbody(int index, Rigidbody rigidbody); // Initialize a new rigidbody with parameters to internal index slot
|
||||
|
|
|
@ -805,7 +805,7 @@ void SetMaterialNormalDepth(Material *material, float depth); // Set n
|
|||
//----------------------------------------------------------------------------------
|
||||
// Physics System Functions (engine-module: physics)
|
||||
//----------------------------------------------------------------------------------
|
||||
void InitPhysics(); // Initialize all internal physics values
|
||||
void InitPhysics(void); // Initialize all internal physics values
|
||||
void SetPhysics(Physics settings); // Set physics settings values using Physics data type to overwrite internal physics settings
|
||||
|
||||
void AddRigidbody(int index, Rigidbody rigidbody); // Initialize a new rigidbody with parameters to internal index slot
|
||||
|
|
|
@ -805,7 +805,7 @@ void SetMaterialNormalDepth(Material *material, float depth); // Set n
|
|||
//----------------------------------------------------------------------------------
|
||||
// Physics System Functions (engine-module: physics)
|
||||
//----------------------------------------------------------------------------------
|
||||
void InitPhysics(); // Initialize all internal physics values
|
||||
void InitPhysics(void); // Initialize all internal physics values
|
||||
void SetPhysics(Physics settings); // Set physics settings values using Physics data type to overwrite internal physics settings
|
||||
|
||||
void AddRigidbody(int index, Rigidbody rigidbody); // Initialize a new rigidbody with parameters to internal index slot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue