Compare commits

...
3 Commits
Author SHA1 Message Date
CanvasandGitHub c634ab5511 update spine wasm & asm, fix event data bind. (#410)
* update spine wasm & asm, fix event data bind.

* update spine wasm & asm to fix event data.

* update spine wasm & asm api.

* update spine wasm & asm to fix const string.
2023-09-01 11:22:43 +08:00
Ling ZhanandGitHub e1afa91277 update box2dwasm (#413) 2023-08-31 14:19:19 +08:00
qiuguohuaandGitHub 24253d9b2e SDL use static libraries (#409) 2023-08-25 15:18:31 +08:00
12 changed files with 8164 additions and 7875 deletions
+9
View File
@@ -185,6 +185,7 @@ declare namespace B2 {
GetFilterData(): Filter;
Refilter(): void;
GetBody(): Body;
GetNext(): Fixture;
TestPoint(p: Vec2): boolean;
RayCast(output: RayCastOutput, input: RayCastInput, childIndex: number): boolean;
GetMassData(massData: MassData): void;
@@ -272,6 +273,8 @@ declare namespace B2 {
IsEnabled(): boolean;
SetFixedRotation(flag: boolean): void;
IsFixedRotation(): boolean;
GetFixtureList(): Fixture;
GetJointList(): number;
GetWorld(): World;
Dump(): void;
}
@@ -572,4 +575,10 @@ declare namespace B2 {
function ContactImpulseGetNormalImpulse(contactImpulsePtr: number, index: number): number;
function ContactImpulseGetTangentImpulse(contactImpulsePtr: number, index: number): number;
function ContactImpulseGetCount(contactImpulsePtr: number): number;
//JointEdge
function JointEdgeGetOther(jointEdgePtr: number): number;
function JointEdgeGetJoint(jointEdgePtr: number): number;
function JointEdgeGetPrev(jointEdgePtr: number): number;
function JointEdgeGetNext(jointEdgePtr: number): number;
}
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -83,7 +83,7 @@ set_target_properties(GLESv2 PROPERTIES
add_library(SDL2 SHARED IMPORTED GLOBAL)
set_target_properties(SDL2 PROPERTIES
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2-2.0.0.dylib
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2.a
)
set(se_libs_name)
@@ -211,6 +211,9 @@ list(APPEND CC_EXTERNAL_LIBS
webp
curl
SDL2
# sdl2 depends on the following two libraries.
"-framework IOKit"
"-framework Carbon"
${glslang_libs_name}
${spirv-cross_libs_name}
${tbb_libs_name}
Binary file not shown.
Binary file not shown.