Skip to content

Kanma/Athena-Physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

********************************************************************************
*                                                                              *
*                               Athena-Physics                                 *
*                               Version 1.1.3                                  *
*                    http://github.com/Kanma/Athena-Physics                    *
*                                                                              *
********************************************************************************


---------------------------------------
- Summary
---------------------------------------

Athena-Physics is one of the modules of the Athena Game Framework, in the form
of a library written in C++.

This module provides concrete implementations of the physical components of the
'entities system' implemented in Athena-Entities. It also contains some
physical-related utility classes.

The physics library used is Bullet (http://bulletproject.org).

The use of this module is optional, you can choose to implement your own
components instead.


This module can be used as a standalone library, or combined with the rest of
the Athena Game Framework (http://github.com/Kanma/Athena-Framework).

Additionally, when the Athena-Scripting (http://github.com/Kanma/Athena-Scripting)
module is built alongside this one, Athena-Physics will be usable from JavaScript.


---------------------------------------
- Dependencies
---------------------------------------

Athena-Physics requires the following dependencies:

   - XMake
   - Athena-Math
   - Athena-Core
   - Athena-Entities
   - Bullet
   - rapidjson
   - UnitTest++

They are provided as GIT submodules of this repository and will be compiled
automatically during the compilation of Athena-Physics.

To download them, do:

    somewhere$ cd <path/to/the/source/of/Athena-Physics>
    Athena-Physics$ git submodule init
    Athena-Physics$ git submodule update


---------------------------------------
- Compilation
---------------------------------------

(Note: you'll need to install CMake to compile Athena-Physics)

To compile Athena-Physics (and all its dependencies), do:

    somewhere$ mkdir build
    somewhere$ cd build
    build$ cmake <path/to/the/source/of/Athena-Physics>
    build$ make

The library will be put in build/bin/


---------------------------------------
- Credits
---------------------------------------

This module is implemented using Bullet 2.76, released under the ZLib License.


---------------------------------------
- License
---------------------------------------

Athena-Physics is is made available under the MIT License. The text of the license
is in the file 'LICENSE'.

Under the MIT License you may use Athena-Physics for any purpose you wish, without
warranty, and modify it if you require, subject to one condition:

   "The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software."

In practice this means that whenever you distribute your application, whether as
binary or as source code, you must include somewhere in your distribution the
text in the file 'LICENSE'. This might be in the printed documentation, as a
file on delivered media, or even on the credits / acknowledgements of the
runtime application itself; any of those would satisfy the requirement.

Even if the license doesn't require it, please consider to contribute your
modifications back to the community.

About

The Physics module of the Athena Game Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published