MCPcopy Create free account
hub / github.com/crownengine/crown / joint_common_write

Function joint_common_write

src/resource/physics_resource.cpp:424–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 }
423
424 s32 joint_common_write(FileBuffer &fb, JointDesc &jd)
425 {
426 BinaryWriter bw(fb);
427 bw.write(jd.type_and_flags);
428 bw.write(jd.other_actor_unit_index);
429 bw.write(jd.pose);
430 bw.write(jd.other_pose);
431 bw.write(jd.break_force);
432 return 0;
433 }
434
435 s32 compile_fixed_joint(Buffer &output, UnitCompiler &compiler, FlatJsonObject &obj, CompileOptions &opts)
436 {

Callers 6

compile_fixed_jointFunction · 0.85
compile_hinge_jointFunction · 0.85
compile_spherical_jointFunction · 0.85
compile_limb_jointFunction · 0.85
compile_spring_jointFunction · 0.85
compile_d6_jointFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected