diff options
author | sanine <sanine.not@pm.me> | 2022-10-01 20:59:36 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-10-01 20:59:36 -0500 |
commit | c5fc66ee58f2c60f2d226868bb1cf5b91badaf53 (patch) | |
tree | 277dd280daf10bf77013236b8edfa5f88708c7e0 /libs/ode-0.16.1/ode/demo/convex_prism.h | |
parent | 1cf9cc3408af7008451f9133fb95af66a9697d15 (diff) |
add ode
Diffstat (limited to 'libs/ode-0.16.1/ode/demo/convex_prism.h')
-rw-r--r-- | libs/ode-0.16.1/ode/demo/convex_prism.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/ode-0.16.1/ode/demo/convex_prism.h b/libs/ode-0.16.1/ode/demo/convex_prism.h new file mode 100644 index 0000000..1ee7fcb --- /dev/null +++ b/libs/ode-0.16.1/ode/demo/convex_prism.h @@ -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,
+};
|