"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/Triangle.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.

Triangle.cpp  (pymol-v2.1.0.tar.bz2):Triangle.cpp  (pymol-open-source-2.2.0)
skipping to change at line 2404 skipping to change at line 2404
result = I->tri; result = I->tri;
} }
FreeP(I); FreeP(I);
} }
if(!ok) { if(!ok) {
VLAFreeP(result); VLAFreeP(result);
} }
return (result); return (result);
} }
void CalculateTriangleNormal(float *p1, float *p2, float *p3, float *n){
float v1[3], v2[3];
subtract3f(p2, p1, v1);
subtract3f(p3, p1, v2);
cross_product3f(v1, v2, n);
}
 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)