"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "data/shaders/ramp.vs" 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.

ramp.vs  (pymol-v2.1.0.tar.bz2):ramp.vs  (pymol-open-source-2.2.0)
#include webgl_header.vs
attribute vec4 a_Vertex; attribute vec4 a_Vertex;
attribute vec4 a_Color; attribute vec4 a_Color;
attribute vec3 a_Normal; attribute vec3 a_Normal;
varying vec4 COLOR ; varying vec4 COLOR ;
varying vec3 NORMAL ; varying vec3 NORMAL ;
uniform vec2 t2PixelSize;
uniform vec3 offsetPt; uniform vec3 offsetPt;
void main() void main()
{ {
COLOR = a_Color; COLOR = a_Color;
NORMAL = a_Normal; NORMAL = a_Normal;
vec4 vertex = a_Vertex + vec4(offsetPt,0.); vec4 vertex = a_Vertex + vec4(offsetPt,0.);
gl_Position = gl_ModelViewProjectionMatrix * vertex; gl_Position = g_ProjectionMatrix * vertex;
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

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