layer2/RepDot.h (25 lines of code) (raw):

/* A* ------------------------------------------------------------------- B* This file contains source code for the PyMOL computer program C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. D* ------------------------------------------------------------------- E* It is unlawful to modify or remove this copyright notice. F* ------------------------------------------------------------------- G* Please see the accompanying LICENSE file for further information. H* ------------------------------------------------------------------- I* Additional authors of this source file include: -* -* -* Z* ------------------------------------------------------------------- */ #ifndef _H_RepDot #define _H_RepDot #include"Rep.h" #include"CoordSet.h" #define cRepDotNormal 0 #define cRepDotAreaType 1 typedef struct RepDot { Rep R; float dotSize; float *V; float *VC; float *A; /* area */ float *VN; /* vector normal */ int *T; /* custom type */ int *F; /* flags */ int N, NC; int *Atom; /* atom */ float Width; CGO *shaderCGO; short shaderCGO_as_spheres; } RepDot; Rep *RepDotNew(CoordSet * cset, int state); Rep *RepDotDoNew(CoordSet * cs, int mode, int state); void RepDotInit(void); #endif