mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Added method for getting Bullet version.
This commit is contained in:
parent
bfac6fa6be
commit
47a66f0e54
@ -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;
|
||||
}
|
||||
|
||||
|
@ -55,6 +55,7 @@ enum BulletUpAxis {
|
||||
};
|
||||
|
||||
EXPCL_PANDABULLET BulletUpAxis get_default_up_axis();
|
||||
EXPCL_PANDABULLET int get_bullet_version();
|
||||
|
||||
END_PUBLISH
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user