"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/Sphere.cpp" between
pymol-v2.1.0.tar.bz2 and pymol-open-source-2.2.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

Sphere.cpp  (pymol-v2.1.0.tar.bz2):Sphere.cpp  (pymol-open-source-2.2.0)
skipping to change at line 664 skipping to change at line 664
printf("%d ",*(q++)); printf("%d ",*(q++));
} }
printf("\n"); printf("\n");
} }
*/ */
return (result); return (result);
} }
#endif #endif
void SphereRender(PyMOLGlobals * G, int level, const float *centroid, const floa
t *color, float alpha, float radius){
#ifndef PURE_OPENGL_ES_2
SphereRec *sp = G->Sphere->Sphere[level];
int a, cc;
int *q = sp->Sequence;
float pt[3];
if (color)
glColor4f(color[0], color[1], color[2], alpha);
for(a = 0; a < sp->NStrip; a++) {
cc = sp->StripLen[a];
while(cc--) {
mult3f(sp->dot[*q], radius, pt);
add3f(centroid, pt, pt);
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)