-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bindings for
b2DynamicTree::Query
and RayCast
for LiquidFu…
…n (pull #531)
- Loading branch information
Showing
4 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
liquidfun/src/main/resources/org/bytedeco/javacpp/include/liquidfun_adapters.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include <Box2D/Common/b2Settings.h> | ||
|
||
class b2DynamicTreeQueryCallback { | ||
public: | ||
virtual bool QueryCallback(int32 nodeId) = 0; | ||
}; | ||
|
||
class b2DynamicTreeRayCastCallback { | ||
public: | ||
virtual bool RayCastCallback(b2RayCastInput& subInput, int32 nodeId) = 0; | ||
}; |