Files
makronix/xsrc/external/mit/ico/dist/objcube.h
T
lotherkandClaude Opus 5.5 c1c0713359 xsrc: import NetBSD xsrc 99aacae30 raw (no .git), its commit in xsrc/BASE
X is the base's again (Konrad, 2026-11-13): the X from pkgsrc in the
makronix set did not start anywhere (no input driver, no keymap, no
"fixed" font; dtlogin "The X-server can not be started on display :0").
Same commit as before the removal in e7bd6d940 (PINS then).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:13:37 +00:00

30 lines
731 B
C

/* objcube.h - structure values for cube */
{ "cube", "cube", /* long and short names */
"octahedron", /* long name of dual */
8, 12, 6, /* number of vertices, edges, and faces */
{ /* vertices (x,y,z) */
/* all points must be within radius 1 of the origin */
#define T 0.577
{ T, T, T },
{ T, T, -T },
{ T, -T, -T },
{ T, -T, T },
{ -T, T, T },
{ -T, T, -T },
{ -T, -T, -T },
{ -T, -T, T },
#undef T
},
{ /* faces (numfaces + indexes into vertices) */
/* faces must be specified clockwise from the outside */
4, 0, 1, 2, 3,
4, 7, 6, 5, 4,
4, 1, 0, 4, 5,
4, 3, 2, 6, 7,
4, 2, 1, 5, 6,
4, 0, 3, 7, 4,
}
}, /* leave a comma to separate from the next include file */
/* end */