Salome HOME
projects
/
modules
/
gui.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implementation of the "0022102: EDF 1496 SMESH : Displaying of discrete elements...
[modules/gui.git]
/
src
/
VTKViewer
/
resources
/
Vertex_Program_ARB.txt
1
attribute float diameter;
2
3
void main()
4
{
5
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
6
gl_FrontColor = gl_Color;
7
gl_PointSize = 1400 * gl_ProjectionMatrix[1].y * diameter;
8
}