first commit
This commit is contained in:
28
thirdparty/ode-0.16.5/ode/demo/convex_prism.h
vendored
Normal file
28
thirdparty/ode-0.16.5/ode/demo/convex_prism.h
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
unsigned int prism_pointcount = 8;
|
||||
unsigned int prism_planecount = 6;
|
||||
dReal prism_points[24]={
|
||||
10.0, 1.0,-1.0,
|
||||
10.0,-1.0,-1.0,
|
||||
-10.0,-1.0,-1.0,
|
||||
-10.0, 1.0,-1.0,
|
||||
10.0, 1.0, 1.0,
|
||||
10.0,-1.0, 1.0,
|
||||
-10.0,-1.0, 1.0,
|
||||
-10.0, 1.0, 1.0
|
||||
};
|
||||
unsigned int prism_polygons[]={
|
||||
4,0,1,2,3,
|
||||
4,4,7,6,5,
|
||||
4,0,4,5,1,
|
||||
4,1,5,6,2,
|
||||
4,2,6,7,3,
|
||||
4,4,0,3,7,
|
||||
};
|
||||
dReal prism_planes[]={
|
||||
0.0,0.0,-1.0,1.0,
|
||||
0.0,0.0,1.0,1.0,
|
||||
1.0,0.0,0.0,10.0,
|
||||
0.0,-1.0,0.0,1.0,
|
||||
-1.0,0.0,-0.0,10.0,
|
||||
0.0,1.0,0.0,1.0,
|
||||
};
|
||||
Reference in New Issue
Block a user