You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In flyovers port, all *Def ports had one interface and one class defined.
In some cases, I was able to make this just an interface, making creation of objects even simpler by just passing an object rather than creating it and adjust its settings. b2FixtureDef is one of those.
There are however other places, where this has not been done yet. Partially, because in some of these cases, inheritance is part of the equation.
Evaluate what can be done to further improve this.
An added benefit might be that we could allow third-party joints if we only required an interface for the JointDef.
The text was updated successfully, but these errors were encountered:
In flyovers port, all *Def ports had one interface and one class defined.
In some cases, I was able to make this just an interface, making creation of objects even simpler by just passing an object rather than creating it and adjust its settings. b2FixtureDef is one of those.
There are however other places, where this has not been done yet. Partially, because in some of these cases, inheritance is part of the equation.
Evaluate what can be done to further improve this.
An added benefit might be that we could allow third-party joints if we only required an interface for the JointDef.
The text was updated successfully, but these errors were encountered: