summaryrefslogtreecommitdiffstats
path: root/src/model/geometry/protein_geometry.c (plain)
blob: bb00ac7353e0582d40fe275983d5d20b92826e3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "protein_geometry.h"
#include "../../view/state0.h"
#include <GL/glut.h>

#define S state0

void
protein_geometry (void)
{
  /*
   * Create a sphere and put it in a display list.
   */
  GLUquadricObj *obj = gluNewQuadric ();
  gluQuadricDrawStyle (obj, GLU_FILL);

  glNewList (S.list_offset + PROTEIN_GEOMETRY, GL_COMPILE);
  gluDisk (obj, 0.0, 0.05, 20, 20);
  glEndList ();

  gluDeleteQuadric (obj);

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.