summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-10-23 17:47:18 +0000
committerIan C <ianc@noddybox.co.uk>2005-10-23 17:47:18 +0000
commitae52db78e5b6697562f0e7b0e1f92dec94c1b063 (patch)
tree05054c71aff5f9de3be1cb96352d6630ad87a6cc
parent72e37d7e83692074fa9d5ad00b2e7c660f78c060 (diff)
Fixed bug in lookup table
-rw-r--r--algorithm.mod/algorithm.bmx4
1 files changed, 2 insertions, 2 deletions
diff --git a/algorithm.mod/algorithm.bmx b/algorithm.mod/algorithm.bmx
index 7020c25..9828362 100644
--- a/algorithm.mod/algorithm.bmx
+++ b/algorithm.mod/algorithm.bmx
@@ -289,8 +289,8 @@ Type AlgoStatic
co=New Double[3600]
For Local f:Int=0 To 3599
- si[f]=Sin(f)
- co[f]=Cos(f)
+ si[f]=Sin(Double(f)/10)
+ co[f]=Cos(Double(f)/10)
Next
done=True