blob: 7e426210fbb4a31737e614ddcc0abdb23ab23474 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ah,v 1.2 2011/11/23 08:20:38 marino Exp $
--- SpiralSound/SpiralInfo.C.orig 2001-04-19 20:48:13.000000000 +0000
+++ SpiralSound/SpiralInfo.C
@@ -16,13 +16,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
#include <stdlib.h>
#include "SpiralInfo.h"
-float RandFloat(float s=0.0f, float e=1.0f)
+float RandFloat(float s, float e)
{
return s+((rand()%10000/10000.0)*(e-s));
}
|