Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /inst/vrml_arrow.m [b988a4] .. [c0a266] Maximize Restore

  Switch to side-by-side view

--- a/inst/vrml_arrow.m
+++ b/inst/vrml_arrow.m
@@ -76,43 +76,43 @@
 smat1 = vrml_material (col(:,1), emit);
 smat2 = vrml_material (col(:,2), emit);
 
-v = sprintf (["Group {\n",\
-              "  children [\n",\
-              "    Transform {\n",\
-              "      translation  %8.3g %8.3g %8.3g\n",\
-              "      children [\n",\
-              "        Shape {\n",\
-              "          appearance Appearance {\n",\
-	      smat1,\
-	      "          }\n"\
-              "          geometry Cylinder {\n",\
-	      "            radius %8.3g\n",\
-	      "            height %8.3g\n",\
-	      "          }\n",\
-              "        }\n",\
-              "      ]\n",\
-              "    }\n",\
-              "    Transform {\n",\
-              "      translation  %8.3g %8.3g %8.3g\n",\
-              "      children [\n",\
-              "        Shape {\n",\
-              "          appearance Appearance {\n",\
-	      smat2,\
-              "          }\n",\
-              "          geometry Cone { \n",\
-              "            bottomRadius  %8.3g \n",\
-              "            height  %8.3g\n",\
-              "          }\n",\
-              "        }\n",\
-              "      ]\n",\
-              "    }\n",\
-              "  ]\n",\
-              "}\n"],\
-	     [0,(sz(1)-sz(2))/2,0],\
-	     sz(4),\
-	     sz(1)-sz(2),\
-	     [0,sz(2)/2+sz(1)-sz(2),0],\
-	     sz(3),\
+v = sprintf (["Group {\n",...
+              "  children [\n",...
+              "    Transform {\n",...
+              "      translation  %8.3g %8.3g %8.3g\n",...
+              "      children [\n",...
+              "        Shape {\n",...
+              "          appearance Appearance {\n",...
+	      smat1,...
+	      "          }\n"...
+              "          geometry Cylinder {\n",...
+	      "            radius %8.3g\n",...
+	      "            height %8.3g\n",...
+	      "          }\n",...
+              "        }\n",...
+              "      ]\n",...
+              "    }\n",...
+              "    Transform {\n",...
+              "      translation  %8.3g %8.3g %8.3g\n",...
+              "      children [\n",...
+              "        Shape {\n",...
+              "          appearance Appearance {\n",...
+	      smat2,...
+              "          }\n",...
+              "          geometry Cone { \n",...
+              "            bottomRadius  %8.3g \n",...
+              "            height  %8.3g\n",...
+              "          }\n",...
+              "        }\n",...
+              "      ]\n",...
+              "    }\n",...
+              "  ]\n",...
+              "}\n"],...
+	     [0,(sz(1)-sz(2))/2,0],...
+	     sz(4),...
+	     sz(1)-sz(2),...
+	     [0,sz(2)/2+sz(1)-sz(2),0],...
+	     sz(3),...
 	     sz(2));
 endfunction