Open Dynamics Engine
Main Page
Modules
Namespaces
Classes
Files
File List
src
collision_trimesh_colliders.h
1
/*************************************************************************
2
* *
3
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
4
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
5
* *
6
* This library is free software; you can redistribute it and/or *
7
* modify it under the terms of EITHER: *
8
* (1) The GNU Lesser General Public License as published by the Free *
9
* Software Foundation; either version 2.1 of the License, or (at *
10
* your option) any later version. The text of the GNU Lesser *
11
* General Public License is included with this library in the *
12
* file LICENSE.TXT. *
13
* (2) The BSD-style license that is included with this library in *
14
* the file LICENSE-BSD.TXT. *
15
* *
16
* This library is distributed in the hope that it will be useful, *
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files *
19
* LICENSE.TXT and LICENSE-BSD.TXT for more details. *
20
* *
21
*************************************************************************/
22
23
#ifndef _ODE_COLLISION_TRIMESH_COLLIDERS_H_
24
#define _ODE_COLLISION_TRIMESH_COLLIDERS_H_
25
26
27
int
dCollideCylinderTrimesh(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
28
int
dCollideTrimeshPlane(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
29
30
int
dCollideSTL(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
31
int
dCollideBTL(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
32
int
dCollideRTL(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
33
int
dCollideTTL(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
34
int
dCollideCCTL(
dxGeom
*o1,
dxGeom
*o2,
int
flags,
dContactGeom
*contact,
int
skip);
35
36
ODE_PURE_INLINE
int
dCollideRayTrimesh(
dxGeom
*ray,
dxGeom
*trimesh,
int
flags,
37
dContactGeom
*contact,
int
skip )
38
{
39
// Swapped case, for code that needs it (heightfield initially)
40
// The other ray-geom colliders take geoms in a swapped order to the
41
// dCollideRTL function which is annoying when using function pointers.
42
return
dCollideRTL( trimesh, ray, flags, contact, skip );
43
}
44
45
46
#endif // _ODE_COLLISION_TRIMESH_COLLIDERS_H_
dContactGeom
Describe the contact point between two geoms.
Definition:
contact.h:88
dxGeom
Definition:
collision_kernel.h:96
Generated on Sun Sep 18 2016 19:13:38 for Open Dynamics Engine by
1.8.9.1