Home
last modified time | relevance | path

Searched refs:pcontact (Results 1 – 25 of 88) sorted by relevance

1234

/dports/devel/ode/ode-0.13/GIMPACT/src/
H A Dgim_contact.cpp52 GIM_CONTACT * pcontact = 0; in gim_merge_contacts() local
66 GIM_COPY_CONTACTS(pcontact, scontact); in gim_merge_contacts()
73 GIM_COPY_CONTACTS(pcontact, scontact); in gim_merge_contacts()
91 GIM_CONTACT * pcontact = 0; in gim_merge_contacts_unique() local
95 GIM_COPY_CONTACTS(pcontact, psource_contacts); in gim_merge_contacts_unique()
99 VEC_SCALE(pcontact->m_normal,pcontact->m_depth,pcontact->m_normal); in gim_merge_contacts_unique()
107 VEC_SUM(pcontact->m_point,pcontact->m_point,psource_contacts->m_point); in gim_merge_contacts_unique()
114 VEC_SCALE(pcontact->m_point,divide_average,pcontact->m_point); in gim_merge_contacts_unique()
116 pcontact->m_depth = VEC_DOT(pcontact->m_normal,pcontact->m_normal)*divide_average; in gim_merge_contacts_unique()
117 GIM_SQRT(pcontact->m_depth,pcontact->m_depth); in gim_merge_contacts_unique()
[all …]
H A Dgim_trimesh_capsule_collision.cpp189 pcontact+= old_contact_size; in gim_triangle_capsule_collision()
191 if(pcontact->m_depth > capsule->m_radius) in gim_triangle_capsule_collision()
201 VEC_SCALE(pcontact->m_normal,-1.0f,pcontact->m_normal); in gim_triangle_capsule_collision()
204 VEC_SUM(pcontact->m_point,vec,pcontact->m_point); in gim_triangle_capsule_collision()
206 pcontact->m_depth = capsule->m_radius - pcontact->m_depth; in gim_triangle_capsule_collision()
208 pcontact++; in gim_triangle_capsule_collision()
253 GIM_CONTACT * pcontact; in gim_trimesh_capsule_collision() local
263 pcontact+= old_contact_size; in gim_trimesh_capsule_collision()
266 pcontact->m_handle1 = trimesh; in gim_trimesh_capsule_collision()
269 pcontact->m_feature2 = 0; in gim_trimesh_capsule_collision()
[all …]
/dports/net-im/icqlib/icqlib-1.0.0/icqlib/
H A Dcontacts.c33 icq_ContactItem *pcontact= in icq_ContactNew() local
36 if(pcontact) in icq_ContactNew()
37 pcontact->icqlink=link; in icq_ContactNew()
39 return pcontact; in icq_ContactNew()
58 icq_ContactItem *pcontact=icq_ContactFind(link, cuin); in icq_ContactRemove() local
60 if (pcontact) in icq_ContactRemove()
62 list_remove(link->icq_ContactList, pcontact); in icq_ContactRemove()
63 icq_ContactDelete(pcontact); in icq_ContactRemove()
97 icq_ContactItem *icq_ContactGetNext(icq_ContactItem *pcontact) in icq_ContactGetNext() argument
99 list_node *p=list_find(pcontact->icqlink->icq_ContactList, pcontact); in icq_ContactGetNext()
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/
H A Dcollision_trimesh_plane.cpp186 dContactGeom* pcontact; in dCollideTrimeshPlane() local
193 pcontact->pos[0] = (*planecontact_results)[0]; in dCollideTrimeshPlane()
196 pcontact->pos[3] = REAL(1.0); in dCollideTrimeshPlane()
198 pcontact->normal[0] = plane[0]; in dCollideTrimeshPlane()
199 pcontact->normal[1] = plane[1]; in dCollideTrimeshPlane()
200 pcontact->normal[2] = plane[2]; in dCollideTrimeshPlane()
201 pcontact->normal[3] = 0; in dCollideTrimeshPlane()
203 pcontact->depth = (*planecontact_results)[3]; in dCollideTrimeshPlane()
204 pcontact->g1 = o1; // trimesh geom in dCollideTrimeshPlane()
205 pcontact->g2 = o2; // plane geom in dCollideTrimeshPlane()
[all …]
H A Dcollision_trimesh_trimesh_new.cpp339 pcontact->pos[3] = 1.0f; in AllocNewContact()
415 pcontact->g1 = g1; in PushNewContact()
416 pcontact->g2 = g2; in PushNewContact()
433 COMBO(pcontact->normal, normal, oldLen, pcontact->normal); in PushNewContact()
438 MULT(pcontact->normal, pcontact->normal, REAL(1.0) / len); in PushNewContact()
441pcontact->side1 = ((dxTriMesh *)pcontact->g1)->TriMergeCallback ? ((dxTriMesh *)pcontact->g1)->Tri… in PushNewContact()
442pcontact->side2 = ((dxTriMesh *)pcontact->g2)->TriMergeCallback ? ((dxTriMesh *)pcontact->g2)->Tri… in PushNewContact()
451 else if (pcontact) in PushNewContact()
458 pcontact->g1 = g1; in PushNewContact()
459 pcontact->g2 = g2; in PushNewContact()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/unix/odesrc/
H A Dcollision_trimesh_plane.cpp186 dContactGeom* pcontact; in dCollideTrimeshPlane() local
193 pcontact->pos[0] = (*planecontact_results)[0]; in dCollideTrimeshPlane()
196 pcontact->pos[3] = REAL(1.0); in dCollideTrimeshPlane()
198 pcontact->normal[0] = plane[0]; in dCollideTrimeshPlane()
199 pcontact->normal[1] = plane[1]; in dCollideTrimeshPlane()
200 pcontact->normal[2] = plane[2]; in dCollideTrimeshPlane()
201 pcontact->normal[3] = 0; in dCollideTrimeshPlane()
203 pcontact->depth = (*planecontact_results)[3]; in dCollideTrimeshPlane()
204 pcontact->g1 = o1; // trimesh geom in dCollideTrimeshPlane()
205 pcontact->g2 = o2; // plane geom in dCollideTrimeshPlane()
[all …]
H A Dcollision_trimesh_trimesh_new.cpp339 pcontact->pos[3] = 1.0f; in AllocNewContact()
415 pcontact->g1 = g1; in PushNewContact()
416 pcontact->g2 = g2; in PushNewContact()
433 COMBO(pcontact->normal, normal, oldLen, pcontact->normal); in PushNewContact()
438 MULT(pcontact->normal, pcontact->normal, REAL(1.0) / len); in PushNewContact()
441pcontact->side1 = ((dxTriMesh *)pcontact->g1)->TriMergeCallback ? ((dxTriMesh *)pcontact->g1)->Tri… in PushNewContact()
442pcontact->side2 = ((dxTriMesh *)pcontact->g2)->TriMergeCallback ? ((dxTriMesh *)pcontact->g2)->Tri… in PushNewContact()
451 else if (pcontact) in PushNewContact()
458 pcontact->g1 = g1; in PushNewContact()
459 pcontact->g2 = g2; in PushNewContact()
[all …]
/dports/devel/ode/ode-0.13/ode/src/
H A Dcollision_trimesh_plane.cpp206 dContactGeom* pcontact; in dCollideTrimeshPlane() local
213 pcontact->pos[0] = (*planecontact_results)[0]; in dCollideTrimeshPlane()
216 pcontact->pos[3] = REAL(1.0); in dCollideTrimeshPlane()
218 pcontact->normal[0] = plane[0]; in dCollideTrimeshPlane()
219 pcontact->normal[1] = plane[1]; in dCollideTrimeshPlane()
220 pcontact->normal[2] = plane[2]; in dCollideTrimeshPlane()
221 pcontact->normal[3] = 0; in dCollideTrimeshPlane()
223 pcontact->depth = (*planecontact_results)[3]; in dCollideTrimeshPlane()
224 pcontact->g1 = o1; // trimesh geom in dCollideTrimeshPlane()
225 pcontact->g2 = o2; // plane geom in dCollideTrimeshPlane()
[all …]
H A Dcollision_trimesh_trimesh_new.cpp340 pcontact->pos[3] = 1.0f; in AllocNewContact()
402 dContactGeom * pcontact; in PushNewContact() local
416 pcontact->g1 = g1; in PushNewContact()
434 COMBO(pcontact->normal, normal, oldLen, pcontact->normal); in PushNewContact()
439 MULT(pcontact->normal, pcontact->normal, REAL(1.0) / len); in PushNewContact()
442pcontact->side1 = ((dxTriMesh *)pcontact->g1)->TriMergeCallback ? ((dxTriMesh *)pcontact->g1)->Tri… in PushNewContact()
443pcontact->side2 = ((dxTriMesh *)pcontact->g2)->TriMergeCallback ? ((dxTriMesh *)pcontact->g2)->Tri… in PushNewContact()
452 else if (pcontact) in PushNewContact()
459 pcontact->g1 = g1; in PushNewContact()
460 pcontact->g2 = g2; in PushNewContact()
[all …]
H A Dcollision_trimesh_gimpact.cpp481 dContactGeom* pcontact; in dCollideTTL() local
488 pcontact->pos[0] = ptrimeshcontacts->m_point[0]; in dCollideTTL()
489 pcontact->pos[1] = ptrimeshcontacts->m_point[1]; in dCollideTTL()
490 pcontact->pos[2] = ptrimeshcontacts->m_point[2]; in dCollideTTL()
491 pcontact->pos[3] = 1.0f; in dCollideTTL()
496 pcontact->normal[3] = 0; in dCollideTTL()
498 pcontact->depth = ptrimeshcontacts->m_depth; in dCollideTTL()
499 pcontact->g1 = g1; in dCollideTTL()
500 pcontact->g2 = g2; in dCollideTTL()
501 pcontact->side1 = ptrimeshcontacts->m_feature1; in dCollideTTL()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_usrloc_pcscf/
H A Dudomain.h58 struct pcontact; /*!< contact record */
65 …nsert_pcontact(struct udomain* _d, str* _contact, struct pcontact_info* _ci, struct pcontact** _c);
66 void mem_delete_pcontact(udomain_t* _d, struct pcontact* _r);
74 int update_rx_regsession(struct udomain* _d, str* session_id, struct pcontact* _c);
75 int update_pcontact(struct udomain* _d, struct pcontact_info* _ci, struct pcontact* _c);
76 int insert_pcontact(struct udomain* _d, str* _contact, struct pcontact_info* _ci, struct pcontact**…
77 int get_pcontact(udomain_t* _d, pcontact_info_t* contact_info, struct pcontact** _r);
79 int delete_pcontact(udomain_t* _d, struct pcontact* _r);
81 int update_security(udomain_t* _d, security_type _t, security_t* _s, struct pcontact* _c);
82 int update_temp_security(udomain_t* _d, security_type _t, security_t* _s, struct pcontact* _c);
H A Dul_callback.h51 struct pcontact;
59 typedef void (ul_cb) (struct pcontact *c, int type, void *param); /*! \brief callback function pro…
60 typedef int (*register_ulcb_t)(struct pcontact *c, int cb_types, ul_cb f, void *param); /*! \brief …
83 int register_ulcb( struct pcontact *c, int types, ul_cb f, void *param);
84 void delete_ulcb(struct pcontact* c, int type);
85 void run_ul_callbacks( int type , struct pcontact *c);
86 void run_ul_create_callbacks(struct pcontact *c);
H A Dusrloc.h206 typedef struct pcontact { struct
236 struct pcontact* prev; /*!< Next item in the hash entry */ argument
237 struct pcontact* next; /*!< Previous item in the hash entry */ argument
240 typedef int (*get_pcontact_t)(struct udomain* _d, pcontact_info_t* contact_info, struct pcontact** …
244 …*insert_pcontact_t)(struct udomain* _d, str* _aor, struct pcontact_info* ci, struct pcontact** _c);
245 typedef int (*delete_pcontact_t)(struct udomain* _d, struct pcontact* _c);
246 typedef int (*unreg_pending_contacts_cb_t)(struct udomain* _d, struct pcontact* _c, int type);
247 typedef int (*update_pcontact_t)(struct udomain* _d, struct pcontact_info* ci, struct pcontact* _c);
248 typedef int (*update_rx_regsession_t)(struct udomain* _d, str* session_id, struct pcontact* _c);
257 …nt (*update_security_t)(struct udomain* _d, security_type _t, security_t* _s, struct pcontact* _c);
[all …]
H A Dhslot.h56 struct pcontact;
61 struct pcontact* first; /*!< First element in the list */
62 struct pcontact* last; /*!< Last element in the list */
73 void slot_add(hslot_t* _s, struct pcontact* _r);
74 void slot_rem(hslot_t* _s, struct pcontact* _r);
/dports/devel/bullet/bullet3-3.21/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/graphics/blender/blender-2.91.0/extern/bullet2/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/bullet/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT * pcontact = &back(); in merge_contacts() local
83 if(pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth)//) in merge_contacts()
85 *pcontact = *scontact; in merge_contacts()
90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
105 pcontact->interpolate_normals(coincident_normals,coincident_count); in merge_contacts()
110 pcontact = &back(); in merge_contacts()
/dports/games/critterding/critterding-beta12/src/utils/bullet/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT * pcontact = &back(); in merge_contacts() local
83 if(pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth)//) in merge_contacts()
85 *pcontact = *scontact; in merge_contacts()
90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
105 pcontact->interpolate_normals(coincident_normals,coincident_count); in merge_contacts()
110 pcontact = &back(); in merge_contacts()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/bullet/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/gimpact/GIMPACT/Bullet/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Bullet/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT * pcontact = &back(); in merge_contacts() local
83 if(pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth)//) in merge_contacts()
85 *pcontact = *scontact; in merge_contacts()
90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
105 pcontact->interpolate_normals(coincident_normals,coincident_count); in merge_contacts()
110 pcontact = &back(); in merge_contacts()
/dports/devel/py-bullet3/bullet3-3.21/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT* pcontact = &back(); in merge_contacts() local
81 if (pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth) //) in merge_contacts()
83 *pcontact = *scontact; in merge_contacts()
88 if (btFabs(pcontact->m_depth - scontact->m_depth) < CONTACT_DIFF_EPSILON) in merge_contacts()
103 pcontact->interpolate_normals(coincident_normals, coincident_count); in merge_contacts()
108 pcontact = &back(); in merge_contacts()
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/bullet/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT * pcontact = &back(); in merge_contacts() local
83 if(pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth)//) in merge_contacts()
85 *pcontact = *scontact; in merge_contacts()
90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
105 pcontact->interpolate_normals(coincident_normals,coincident_count); in merge_contacts()
110 pcontact = &back(); in merge_contacts()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletCollision/Gimpact/
H A Dgim_contact.cpp71 GIM_CONTACT * pcontact = &back(); in merge_contacts() local
83 if(pcontact->m_depth - CONTACT_DIFF_EPSILON > scontact->m_depth)//) in merge_contacts()
85 *pcontact = *scontact; in merge_contacts()
90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
105 pcontact->interpolate_normals(coincident_normals,coincident_count); in merge_contacts()
110 pcontact = &back(); in merge_contacts()

1234