summaryrefslogtreecommitdiffstats
path: root/src/model/geometry/protein_geometry.c (plain)
blob: 30a43509a59588e04900a32373c8c746b7aabd0e
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/exp004state0.h"
#include <GL/glut.h>

#define S exp004state0

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);
  gluSphere (obj, 0.05, 20, 20);
  glEndList ();

  gluDeleteQuadric (obj);

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.