| 480 | } |
| 481 | |
| 482 | s32 compile_spherical_joint(Buffer &output, UnitCompiler &compiler, FlatJsonObject &obj, CompileOptions &opts) |
| 483 | { |
| 484 | JointDesc jd; |
| 485 | s32 err = joint_common_parse(jd, JointType::SPHERICAL, compiler, obj, opts); |
| 486 | ENSURE_OR_RETURN(PHYSICS_RESOURCE, err == 0, opts); |
| 487 | |
| 488 | FileBuffer fb(output); |
| 489 | return joint_common_write(fb, jd); |
| 490 | } |
| 491 | |
| 492 | s32 compile_limb_joint(Buffer &output, UnitCompiler &compiler, FlatJsonObject &obj, CompileOptions &opts) |
| 493 | { |
nothing calls this directly
no test coverage detected