Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
update to 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Sep 27, 2022
1 parent 6f133aa commit 3832637
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
24 changes: 23 additions & 1 deletion bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -10247,6 +10247,16 @@ type NodePairContacts struct {
h C.WrapNodePairContacts
}

// NewNodePairContacts ...
func NewNodePairContacts() *NodePairContacts {
retval := C.WrapConstructorNodePairContacts()
retvalGO := &NodePairContacts{h: retval}
runtime.SetFinalizer(retvalGO, func(cleanval *NodePairContacts) {
C.WrapNodePairContactsFree(cleanval.h)
})
return retvalGO
}

// Free ...
func (pointer *NodePairContacts) Free() {
C.WrapNodePairContactsFree(pointer.h)
Expand Down Expand Up @@ -10371,10 +10381,12 @@ func (pointer *SceneBullet3Physics) StepSimulationWithStepDtMaxStep(displaydt in
}

// CollectCollisionEvents ...
func (pointer *SceneBullet3Physics) CollectCollisionEvents(scene *Scene, nodepaircontacts *NodePairContacts) {
func (pointer *SceneBullet3Physics) CollectCollisionEvents(scene *Scene) *NodePairContacts {
sceneToC := scene.h
nodepaircontacts := NewNodePairContacts()
nodepaircontactsToC := nodepaircontacts.h
C.WrapCollectCollisionEventsSceneBullet3Physics(pointer.h, sceneToC, nodepaircontactsToC)
return nodepaircontacts
}

// SyncTransformsFromScene ...
Expand Down Expand Up @@ -12403,6 +12415,16 @@ func (pointer *FileFilter) SetPattern(v string) {
C.WrapFileFilterSetPattern(pointer.h, vToC)
}

// NewFileFilter ...
func NewFileFilter() *FileFilter {
retval := C.WrapConstructorFileFilter()
retvalGO := &FileFilter{h: retval}
runtime.SetFinalizer(retvalGO, func(cleanval *FileFilter) {
C.WrapFileFilterFree(cleanval.h)
})
return retvalGO
}

// Free ...
func (pointer *FileFilter) Free() {
C.WrapFileFilterFree(pointer.h)
Expand Down
Binary file modified linux/libharfang.a
Binary file not shown.
Binary file modified linux/libhg_go.a
Binary file not shown.
Binary file modified windows/libharfang.a
Binary file not shown.
Binary file modified windows/libhg_go.a
Binary file not shown.
2 changes: 2 additions & 0 deletions wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,7 @@ extern WrapForwardPipelineAAAConfig WrapConstructorForwardPipelineAAAConfig();
extern void WrapForwardPipelineAAAConfigFree(WrapForwardPipelineAAAConfig);
extern void WrapForwardPipelineAAAFree(WrapForwardPipelineAAA);
extern void WrapFlipForwardPipelineAAA(WrapForwardPipelineAAA this_, const WrapViewState view_state);
extern WrapNodePairContacts WrapConstructorNodePairContacts();
extern void WrapNodePairContactsFree(WrapNodePairContacts);
extern WrapSceneBullet3Physics WrapConstructorSceneBullet3Physics();
extern WrapSceneBullet3Physics WrapConstructorSceneBullet3PhysicsWithThreadCount(int thread_count);
Expand Down Expand Up @@ -1638,6 +1639,7 @@ extern const char *WrapFileFilterGetName(WrapFileFilter h);
extern void WrapFileFilterSetName(WrapFileFilter h, const char *v);
extern const char *WrapFileFilterGetPattern(WrapFileFilter h);
extern void WrapFileFilterSetPattern(WrapFileFilter h, const char *v);
extern WrapFileFilter WrapConstructorFileFilter();
extern void WrapFileFilterFree(WrapFileFilter);
extern WrapFileFilter WrapFileFilterListGetOperator(WrapFileFilterList h, int id);
extern void WrapFileFilterListSetOperator(WrapFileFilterList h, int id, WrapFileFilter v);
Expand Down

0 comments on commit 3832637

Please sign in to comment.