[NUI.Physics2D] Adding Dali/Chipmunk interop
authorDavid Steele <david.steele@samsung.com>
Mon, 11 Sep 2023 20:23:20 +0000 (21:23 +0100)
committerbshsqa <32317749+bshsqa@users.noreply.github.com>
Thu, 14 Sep 2023 10:40:33 +0000 (19:40 +0900)
commitfe8dcbd088335717597cb48997fee74dc24533c2
tree1e8dc3a253eb335e69f250096e1b7999f2626e38
parent42cea847d6e54f535577c0c37531cb04a66c8405
[NUI.Physics2D] Adding Dali/Chipmunk interop

Adds Tizen.NUI.Physics2D.PhysicsAdaptor,
Tizen.NUI.Physics2D.PhysicsActor and
Tizen.NUI.Physics2D.ScopedAccessor classes.

These wrap the DALi physics classes in dali-toolkit; which run
the physics integration thread in the Update thread (using the
FrameCallback natively). They offer basic APIs for attaching
Views to Chipmunk.Body physics objects, so that they can
be rendered.
14 files changed:
src/Tizen.NUI.Physics2D/Tizen.NUI.Physics2D.csproj
src/Tizen.NUI.Physics2D/src/internal/interop/Interop.Actor.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/internal/interop/Interop.Adaptor.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/internal/interop/Interop.Libraries.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/internal/interop/Interop.World.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/public/chipmunk/Body.cs
src/Tizen.NUI.Physics2D/src/public/chipmunk/Space.cs
src/Tizen.NUI.Physics2D/src/public/chipmunk/SpaceRef.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/public/wrapper/PhysicsActor.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/public/wrapper/PhysicsAdaptor.cs [new file with mode: 0644]
src/Tizen.NUI.Physics2D/src/public/wrapper/ScopedPhysicsAccessor.cs [new file with mode: 0644]
src/Tizen.NUI/src/internal/Common/FriendAssembly.cs
test/Tizen.NUI.Physics2D.Sample/Physics2DSample.cs
test/Tizen.NUI.Physics2D.Sample/res/images/blocks-ball.png [new file with mode: 0644]