summaryrefslogtreecommitdiffstats
path: root/src/model/protein_geometry.c (plain)
blob: 001b5786107a2d343e686f37a6264f1287528d20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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.