From: ouv Date: Mon, 3 Oct 2005 12:48:28 +0000 (+0000) Subject: Flag results/geometry added X-Git-Tag: BR-D5-38-2003_D2005-12-10~81 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea29aa24b36ee2e89a84436e6fa443ad5f5a17ef;p=modules%2Fvisu.git Flag results/geometry added --- diff --git a/resources/Vertex_Program_ARB.txt b/resources/Vertex_Program_ARB.txt index cd73e662..22ee582b 100755 --- a/resources/Vertex_Program_ARB.txt +++ b/resources/Vertex_Program_ARB.txt @@ -4,10 +4,11 @@ attribute float attrib1; attribute float attrib2; attribute float attrib3; +attribute bool results; attribute float clamp; attribute float geomSize; -attribute float minSize; attribute float attrib4; +attribute float minSize; attribute float maxSize; attribute float magnification; @@ -80,7 +81,7 @@ void main() gl_FrontColor = gl_Color; float size; - if( geomSize == 0 ) + if( results ) size = ComputePointSize( gl_Color ); else size = geomSize;