support.h
Go to the documentation of this file.
1 /***
2  * libccd
3  * ---------------------------------
4  * Copyright (c)2010 Daniel Fiser <danfis@danfis.cz>
5  *
6  *
7  * This file is part of libccd.
8  *
9  * Distributed under the OSI-approved BSD License (the "License");
10  * see accompanying file BDS-LICENSE for details or see
11  * <http://www.opensource.org/licenses/bsd-license.php>.
12  *
13  * This software is distributed WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  * See the License for more information.
16  */
17 
18 #ifndef __CCD_SUPPORT_H__
19 #define __CCD_SUPPORT_H__
20 
21 #include <ccd/ccd.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
26 
28  ccd_vec3_t v;
29  ccd_vec3_t v1;
30  ccd_vec3_t v2;
31 };
33 
34 _ccd_inline void ccdSupportCopy(ccd_support_t *, const ccd_support_t *s);
35 
40 void __ccdSupport(const void *obj1, const void *obj2,
41  const ccd_vec3_t *dir, const ccd_t *ccd,
42  ccd_support_t *supp);
43 
44 
45 /**** INLINES ****/
46 _ccd_inline void ccdSupportCopy(ccd_support_t *d, const ccd_support_t *s)
47 {
48  *d = *s;
49 }
50 
51 #ifdef __cplusplus
52 } /* extern "C" */
53 #endif /* __cplusplus */
54 
55 #endif /* __CCD_SUPPORT_H__ */
obj2
CollisionObject< S > * obj2
Definition: broadphase_SaP.h:211
_ccd_support_t
Definition: support.h:27
_ccd_support_t::v
ccd_vec3_t v
Support point in minkowski sum.
Definition: support.h:43
obj1
CollisionObject< S > * obj1
Definition: broadphase_SaP.h:210
_ccd_support_t::v1
ccd_vec3_t v1
Support point in obj1.
Definition: support.h:44
_ccd_support_t::v2
ccd_vec3_t v2
Support point in obj2.
Definition: support.h:45
ccdSupportCopy
_ccd_inline void ccdSupportCopy(ccd_support_t *, const ccd_support_t *s)
Definition: support.h:46
__ccdSupport
void __ccdSupport(const void *obj1, const void *obj2, const ccd_vec3_t *dir, const ccd_t *ccd, ccd_support_t *supp)


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:49