sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
29
app/ico/objocta.h
Normal file
29
app/ico/objocta.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/* objocta.h - structure values for octahedron */
|
||||
|
||||
{ "octahedron", "octa", /* long and short names */
|
||||
"cube", /* long name of dual */
|
||||
6, 12, 8, /* number of vertices, edges, and faces */
|
||||
{ /* vertices (x,y,z) */
|
||||
/* all points must be within radius 1 of the origin */
|
||||
#define T 1.0
|
||||
{ T, 0, 0 },
|
||||
{ -T, 0, 0 },
|
||||
{ 0, T, 0 },
|
||||
{ 0, -T, 0 },
|
||||
{ 0, 0, T },
|
||||
{ 0, 0, -T },
|
||||
#undef T
|
||||
},
|
||||
{ /* faces (numfaces + indexes into vertices) */
|
||||
/* faces must be specified clockwise from the outside */
|
||||
3, 0, 4, 2,
|
||||
3, 0, 2, 5,
|
||||
3, 0, 5, 3,
|
||||
3, 0, 3, 4,
|
||||
3, 1, 2, 4,
|
||||
3, 1, 5, 2,
|
||||
3, 1, 3, 5,
|
||||
3, 1, 4, 3,
|
||||
}
|
||||
}, /* leave a comma to separate from the next include file */
|
||||
/* end */
|
Loading…
Add table
Add a link
Reference in a new issue