Added method for getting Bullet version.

This commit is contained in:
enn0x 2013-12-03 21:28:57 +00:00
parent bfac6fa6be
commit 47a66f0e54
2 changed files with 10 additions and 0 deletions

View File

@ -219,3 +219,12 @@ void get_node_transform(btTransform &trans, PandaNode *node) {
trans.setOrigin(btv);
}
////////////////////////////////////////////////////////////////////
// Function: get_bullet_version
// Description: Returns the version of the linked Bullet library.
////////////////////////////////////////////////////////////////////
int get_bullet_version() {
return BT_BULLET_VERSION;
}

View File

@ -55,6 +55,7 @@ enum BulletUpAxis {
};
EXPCL_PANDABULLET BulletUpAxis get_default_up_axis();
EXPCL_PANDABULLET int get_bullet_version();
END_PUBLISH