|
From: <sm...@us...> - 2009-08-13 09:08:49
|
Revision: 10237
http://plplot.svn.sourceforge.net/plplot/?rev=10237&view=rev
Author: smekal
Date: 2009-08-13 09:08:43 +0000 (Thu, 13 Aug 2009)
Log Message:
-----------
Added the plrand() function to the D bindings.
Modified Paths:
--------------
trunk/bindings/d/plplot.d
Modified: trunk/bindings/d/plplot.d
===================================================================
--- trunk/bindings/d/plplot.d 2009-08-13 09:07:43 UTC (rev 10236)
+++ trunk/bindings/d/plplot.d 2009-08-13 09:08:43 UTC (rev 10237)
@@ -1232,6 +1232,7 @@
alias c_plpsty plpsty;
//alias c_plptex plptex;
//alias c_plptex3 plptex3;
+alias c_plrandd plrandd;
alias c_plreplot plreplot;
alias c_plrgb plrgb;
alias c_plrgb1 plrgb1;
@@ -1657,10 +1658,13 @@
/* Prints out "text" at world cooordinate (x,y,z). */
void c_plptex3(PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, char *text);
+/* Random number generator based on Mersenne Twister.
+ Obtain real random number in range [0,1]. */
+PLFLT c_plrandd();
+
/* Replays contents of plot buffer to current device/file. */
+void c_plreplot();
-void c_plreplot();
-
/* Set line color by red, green, blue from 0. to 1. */
void c_plrgb(PLFLT r, PLFLT g, PLFLT b);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|